There was an error while loading. Please reload this page.
1 parent a973208 commit 9fa3df0Copy full SHA for 9fa3df0
1 file changed
etc/publish.sh
@@ -1,5 +1,8 @@
1
#!/usr/bin/env bash
2
3
+# NOTE: This script requires bash >= 4.4 and GNU coreutils!
4
+# If you run this on macOS, you might need to install the appropiate packages.
5
+
6
set -euo pipefail
7
shopt -s inherit_errexit
8
@@ -58,6 +61,7 @@ esac
58
61
59
62
echo -e "\nCreating GitHub release..."
60
63
gh release create "${new_git_tag}" --title "${new_git_tag}" --notes "${changelog_entry}"
64
+git fetch --tags
65
66
echo -e "\nUpdating previous-version tag..."
67
git tag -f previous-version latest-version
0 commit comments