Skip to content

Commit

Permalink
Merge pull request #3 from initia-labs/feat/add-tag-release
Browse files Browse the repository at this point in the history
add github action to make tag and release based on movevm
  • Loading branch information
SeUkKim authored Oct 15, 2024
2 parents e9727bb + 69edb8f commit 67caa58
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Create Tag & Release

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: get versions
id: get_version
run: echo "##[set-output name=version;]$(echo '${{ github.event.head_commit.message }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')"
- name: make release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.get_version.outputs.version }}
release_name: ${{ steps.get_version.outputs.version }}

0 comments on commit 67caa58

Please sign in to comment.