File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed
Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 2828 git push -q -u origin "release-$VERSION"
2929
3030 - name : Get changelog diff
31- uses : actions/github-script@v5
31+ uses : actions/github-script@v6
3232 with :
3333 script : |
3434 const get_change_log_diff = require('./scripts/get_changelog_diff.js')
Original file line number Diff line number Diff line change @@ -52,19 +52,22 @@ jobs:
5252 GORELEASER_CURRENT_TAG : ${{ env.VERSION }}
5353
5454 - name : Update docs
55+ env :
56+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5557 run : |
5658 # Update local state, since goreleaser pushes into master
5759 git pull
5860
61+ git config --global user.name 'GitHub Bot'
62+ git config --global user.email 'cicd@getstream.io'
63+ git checkout -q -b "docs-${{ env.VERSION }}"
64+
5965 # Generate new Markdown docs
6066 rm -rf ./docs/stream-cli*.md
6167 go run ./cmd/gen-docs --output ./docs
62-
63- # Push it to master
64- git config --global user.name 'GitHub Bot'
65- git config --global user.email 'cicd@getstream.io'
6668 git add ./docs
6769 git commit -m "docs(${{ env.VERSION }}): update markdown docs"
68- git checkout -b "docs-${{ env.VERSION }}}"
69- git push --set-upstream origin docs-${{ env.VERSION }}
70+ git push -q -u origin "docs-${{ env.VERSION }}"
71+
72+ # Push to docs branch
7073 gh pr create -t "docs(${{ env.VERSION }}): update markdown docs"
Original file line number Diff line number Diff line change 66
77const (
88 versionMajor = 1
9- versionMinor = 3
10- versionPatch = 0
9+ versionMinor = 4
10+ versionPatch = 5
1111)
1212
1313func FmtVersion () string {
You can’t perform that action at this time.
0 commit comments