Skip to content

Commit

Permalink
Added auto tag script
Browse files Browse the repository at this point in the history
  • Loading branch information
NQuinn27 committed Nov 28, 2023
1 parent d32f8e6 commit ea22394
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/post-release-merge.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
name: Post Release PR Merge

on:
workflow_dispatch:
pull_request:
# Patterns matched against refs/heads
branches:
- 'release/**'
types: [ closed ]

jobs:
release_merge:
if: github.event.pull_request.merged == true
if: github.head_ref == 'release/next' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Git - Checkout
Expand All @@ -27,9 +23,3 @@ jobs:
run: |
git tag $RELEASE_VERSION
git push origin $RELEASE_VERSION
- name: Create a Release
uses: elgohr/Github-Release-Action@v4
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_ACCESS_TOKEN }}
with:
title: Release ${{ env.RELEASE_VERSION }}

0 comments on commit ea22394

Please sign in to comment.