Skip to content

Commit 679165f

Browse files
authored
Merge pull request #719 from KiraCore/release/v0.4.11
release/v0.4.11 -> master
2 parents 4113249 + a377b93 commit 679165f

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ jobs:
201201
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
202202
with:
203203
body_path: RELEASE.md
204-
tag_name: ${{ env.RELEASE_VER }}
205204
name: ${{ env.RELEASE_VER }}
206205
prerelease: ${{ env.PRE_RELEASE }}
207206
draft: false

.github/workflows/tag-on-merge.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: Tag release after merge to master
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
tag_release:
11+
name: Tag new release
12+
runs-on: ubuntu-latest
13+
if: startsWith(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'release/v')
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Set up Git
21+
run: |
22+
git config user.name "github-actions"
23+
git config user.email "github-actions@github.com"
24+
25+
- name: Extract version from commit message
26+
run: |
27+
RELEASE_VER="$(./scripts/version.sh)" && echo "RELEASE_VER=$RELEASE_VER" >> $GITHUB_ENV
28+
29+
- name: Create and push Git tag
30+
run: |
31+
if git rev-parse "refs/tags/v$RELEASE_VER" >/dev/null 2>&1; then
32+
echo "Tag v$RELEASE_VER already exists. Skipping."
33+
else
34+
git tag "v$RELEASE_VER"
35+
git push origin "v$RELEASE_VER"
36+
fi

types/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
const (
44
// we set page iteration limit for safety
55
PageIterationLimit = 512
6-
SekaiVersion = "v0.4.10"
6+
SekaiVersion = "v0.4.11"
77
CosmosVersion = "v0.47.6"
88
)

0 commit comments

Comments
 (0)