Skip to content

Commit 9fa3df0

Browse files
committed
Update release script
1 parent a973208 commit 9fa3df0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

etc/publish.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env bash
22

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+
36
set -euo pipefail
47
shopt -s inherit_errexit
58

@@ -58,6 +61,7 @@ esac
5861

5962
echo -e "\nCreating GitHub release..."
6063
gh release create "${new_git_tag}" --title "${new_git_tag}" --notes "${changelog_entry}"
64+
git fetch --tags
6165

6266
echo -e "\nUpdating previous-version tag..."
6367
git tag -f previous-version latest-version

0 commit comments

Comments
 (0)