Skip to content

Commit

Permalink
Update Release script to generate after version bumps
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Coffman <steve@khanacademy.org>
  • Loading branch information
StevenACoffman committed Dec 8, 2022
1 parent 9543703 commit aaf1638
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ package graphql
const Version = "$VERSION"
EOF

go generate ./...; cd _examples; go generate ./...; cd ..
git add .

git commit -m "release $VERSION"
git tag $VERSION
git push origin $VERSION
Expand All @@ -39,7 +40,7 @@ package graphql
const Version = "$VERSION-dev"
EOF

go generate ./...; cd _examples; go generate ./...; cd ..
git add .
git commit -m "$VERSION postrelease bump"
git push origin HEAD:master
Expand Down

0 comments on commit aaf1638

Please sign in to comment.