From 69edb8f7ae6ea54701b489f2d2aca9dac311e59b Mon Sep 17 00:00:00 2001 From: SeUkKim Date: Fri, 4 Oct 2024 15:13:38 +0900 Subject: [PATCH] add github action to make tag and release based on movevm --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c04ebe0 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }} \ No newline at end of file