Skip to content

Commit 0ae5fc2

Browse files
committed
fix(version): bump
1 parent 7bdc659 commit 0ae5fc2

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/initiate_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
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')

.github/workflows/release.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff 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"

pkg/version/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

77
const (
88
versionMajor = 1
9-
versionMinor = 3
10-
versionPatch = 0
9+
versionMinor = 4
10+
versionPatch = 5
1111
)
1212

1313
func FmtVersion() string {

0 commit comments

Comments
 (0)