Skip to content

Commit

Permalink
Merge pull request #144 from numtide/release-script
Browse files Browse the repository at this point in the history
create-release.sh: fix master references
  • Loading branch information
Mic92 authored Nov 5, 2024
2 parents de29c3e + e21f90b commit d437b88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [[ -z $version ]]; then
fi

if [[ "$(git symbolic-ref --short HEAD)" != "main" ]]; then
echo "must be on master branch" >&2
echo "must be on main branch" >&2
exit 1
fi

Expand All @@ -31,4 +31,4 @@ fi
nix flake check -vL
git tag "${version}"

echo "now run 'git push --tags origin master'"
echo "now run 'git push --tags origin main'"

0 comments on commit d437b88

Please sign in to comment.