forked from platypush/platypush
[CI/CD] Regenerate the Debian repo list files when the repo is rebuilt.
This commit is contained in:
parent
1a777c6276
commit
dcf9561ad1
1 changed files with 16 additions and 0 deletions
16
.drone.yml
16
.drone.yml
|
@ -514,6 +514,14 @@ steps:
|
||||||
cp "$GIT_DEB" "$APT_ROOT/pool/$DEB_VERSION/main/$${PKG_NAME}_$${VERSION}-1_all.deb"
|
cp "$GIT_DEB" "$APT_ROOT/pool/$DEB_VERSION/main/$${PKG_NAME}_$${VERSION}-1_all.deb"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- cat <<EOF > "$TMP_APT_ROOT/platypush-oldstable-main.list"
|
||||||
|
deb https://apt.platypush.tech/ oldstable main
|
||||||
|
EOF
|
||||||
|
|
||||||
|
- cat <<EOF > "$TMP_APT_ROOT/platypush-oldstable-dev.list"
|
||||||
|
deb https://apt.platypush.tech/ oldstable dev
|
||||||
|
EOF
|
||||||
|
|
||||||
###
|
###
|
||||||
### Updates the APT repository after new packages have been pushed
|
### Updates the APT repository after new packages have been pushed
|
||||||
###
|
###
|
||||||
|
@ -616,6 +624,14 @@ steps:
|
||||||
add_hashes "$dist_dir" "sha256sum" "SHA256" >> "$release_file"
|
add_hashes "$dist_dir" "sha256sum" "SHA256" >> "$release_file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
- cat <<EOF > "$TMP_APT_ROOT/platypush-stable-main.list"
|
||||||
|
deb https://apt.platypush.tech/ stable main
|
||||||
|
EOF
|
||||||
|
|
||||||
|
- cat <<EOF > "$TMP_APT_ROOT/platypush-stable-dev.list"
|
||||||
|
deb https://apt.platypush.tech/ stable dev
|
||||||
|
EOF
|
||||||
|
|
||||||
- echo "-- Updating index file"
|
- echo "-- Updating index file"
|
||||||
- |
|
- |
|
||||||
cat <<EOF > "$TMP_APT_ROOT/index.txt"
|
cat <<EOF > "$TMP_APT_ROOT/index.txt"
|
||||||
|
|
Loading…
Reference in a new issue