Compare commits
10 commits
Author | SHA1 | Date | |
---|---|---|---|
7fef17b94c | |||
|
df27bd4632 | ||
|
6d925d86e4 | ||
3e8a967e07 | |||
|
cfdb452239 | ||
|
a849e5c472 | ||
e36c833efa | |||
|
d7f9fc5d75 | ||
|
b40012b6d4 | ||
|
5387fc35d7 |
2 changed files with 13 additions and 4 deletions
|
@ -1 +1 @@
|
|||
7.0.3
|
||||
9.0.1
|
|
@ -24,6 +24,13 @@ then
|
|||
apt install -y ${#MISSING_PACKAGES[@]}
|
||||
fi
|
||||
|
||||
cd $ROOT_DIR
|
||||
echo "Update git repo:"
|
||||
git pull
|
||||
echo "done."
|
||||
|
||||
echo "Latest published release: $( /usr/bin/git tag | tail -n 1 )"
|
||||
|
||||
LATEST="$1"
|
||||
|
||||
if [ -z "$LATEST" ]
|
||||
|
@ -33,14 +40,13 @@ then
|
|||
echo done.
|
||||
fi
|
||||
|
||||
echo "Latest release: $LATEST"
|
||||
echo "Latest upstream release: $LATEST"
|
||||
[ -n "$( /usr/bin/git tag -l "$LATEST" )" ] && echo "Release $LATEST already exists" && exit 1
|
||||
|
||||
echo "Press [enter] to create and publish this new release"
|
||||
echo "Press [enter] to create and publish this new release $LATEST"
|
||||
read
|
||||
|
||||
echo "Create new release..."
|
||||
cd $ROOT_DIR
|
||||
echo -n "$LATEST" > last_release.txt
|
||||
/usr/bin/git add last_release.txt
|
||||
/usr/bin/git commit -m "Release $LATEST"
|
||||
|
@ -51,3 +57,6 @@ echo "Publish new release..."
|
|||
/usr/bin/git push
|
||||
/usr/bin/git push --tags
|
||||
echo done.
|
||||
|
||||
echo "Not release $LATEST published. Follow build process there:"
|
||||
echo "https://gitea.zionetrix.net/bn8/forgejo_debian_packager/actions"
|
||||
|
|
Loading…
Reference in a new issue