diff --git a/publish_new_release.sh b/publish_new_release.sh index 472561a..3cf7900 100755 --- a/publish_new_release.sh +++ b/publish_new_release.sh @@ -29,6 +29,8 @@ echo "Update git repo:" git pull echo "done." +echo "Latest published release: $( /usr/bin/git tag | tail -n 1 )" + LATEST="$1" if [ -z "$LATEST" ] @@ -38,10 +40,10 @@ 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..." @@ -55,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"