Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Whoops
  • Loading branch information
mafredri committed Jan 13, 2023
commit 104bed6522794235fc3533082f5b78b90c63c22f
6 changes: 3 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ git fetch --quiet --tags origin "$branch"
ref=$(git rev-parse --short "${ref:-origin/$branch}")

# Make sure that we're running the latest release script.
# if [[ -n $(git diff --name-status origin/"$branch" -- ./scripts/release.sh) ]]; then
# error "Release script is out-of-date. Please check out the latest version and try again."
# fi
if [[ -n $(git diff --name-status origin/"$branch" -- ./scripts/release.sh) ]]; then
error "Release script is out-of-date. Please check out the latest version and try again."
fi

# Check the current version tag from GitHub (by number) using the API to
# ensure no local tags are considered.
Expand Down