Skip to content

Commit

Permalink
chore: add check for version_next markers
Browse files Browse the repository at this point in the history
  • Loading branch information
rickeylev committed Jan 2, 2025
1 parent 6a04d38 commit ed241c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/create_archive_and_notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@

set -o errexit -o nounset -o pipefail

# Exclude dot directories, specifically, this file so that we don't
# find the substring we're looking for in our own file.
if grep --exclude-dir=.* VERSION_NEXT_ -r; then
echo
echo "Found VERSION_NEXT markers indicating version needs to be specified"
exit 1
fi

# Set by GH actions, see
# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
TAG=${GITHUB_REF_NAME}
Expand Down

0 comments on commit ed241c0

Please sign in to comment.