Skip to content

Commit a4bf3a7

Browse files
authored
chore: simplify generating examples in release script (#3064)
1 parent 45f6eb5 commit a4bf3a7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

‎RELEASE-CHECKLIST.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ Assuming the next version is $NEW_VERSION=v0.16.0 or something like that.
66
./bin/release $NEW_VERSION
77
```
88
2. git-chglog -o CHANGELOG.md
9-
3. go generate ./...; cd _examples; go generate ./...; cd ..
9+
3. go generate ./...
1010
4. git commit and push the CHANGELOG.md
1111
5. Go to https://github.com/99designs/gqlgen/releases and draft new release, autogenerate the release notes, and Create a discussion for this release
1212
6. Comment on the release discussion with any really important notes (breaking changes)
1313

1414
I used https://github.com/git-chglog/git-chglog to automate the changelog maintenance process for now. We could just as easily use go releaser to make the whole thing automated.
15-

‎bin/release‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ package graphql
2727
2828
const Version = "$VERSION"
2929
EOF
30-
go generate ./...; cd _examples; go generate ./...; cd ..
30+
go generate ./...
3131
git add .
3232

3333
git commit -m "release $VERSION"
@@ -40,7 +40,7 @@ package graphql
4040
4141
const Version = "$VERSION-dev"
4242
EOF
43-
go generate ./...; cd _examples; go generate ./...; cd ..
43+
go generate ./...
4444
git add .
4545
git commit -m "$VERSION postrelease bump"
4646
git push origin HEAD:master

0 commit comments

Comments
 (0)