Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ jobs:
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
with:
body_path: RELEASE.md
tag_name: ${{ env.RELEASE_VER }}
name: ${{ env.RELEASE_VER }}
prerelease: ${{ env.PRE_RELEASE }}
draft: false
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/tag-on-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Tag release after merge to master

on:
push:
branches:
- master

jobs:
tag_release:
name: Tag new release
runs-on: ubuntu-latest
if: startsWith(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'release/v')
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Git
run: |
git config user.name "github-actions"
git config user.email "github-actions@github.com"

- name: Extract version from commit message
run: |
RELEASE_VER="$(./scripts/version.sh)" && echo "RELEASE_VER=$RELEASE_VER" >> $GITHUB_ENV

- name: Create and push Git tag
run: |
if git rev-parse "refs/tags/v$RELEASE_VER" >/dev/null 2>&1; then
echo "Tag v$RELEASE_VER already exists. Skipping."
else
git tag "v$RELEASE_VER"
git push origin "v$RELEASE_VER"
fi
2 changes: 1 addition & 1 deletion types/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
const (
// we set page iteration limit for safety
PageIterationLimit = 512
SekaiVersion = "v0.4.10"
SekaiVersion = "v0.4.11"
CosmosVersion = "v0.47.6"
)
Loading