0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 14:08:23 -05:00

ci: #minor change

This commit is contained in:
Scott 2024-01-28 09:30:32 -05:00
parent 1252d51d28
commit bb18308505

View File

@ -12,13 +12,15 @@ concurrency: production
jobs:
build:
name: Create Release
name: bump tag version and release
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.sha }} ## this seems to be required due to https://github.com/anothrNick/github-tag-action/issues/266
fetch-depth: 0
- name: 'Automated Version Bump'
id: version-bump
uses: anothrNick/github-tag-action@1.36.0
@ -35,7 +37,6 @@ jobs:
REPO: ${{ github.repository }}
- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true
@ -43,5 +44,5 @@ jobs:
tag_name: ${{ steps.version-bump.outputs.new_tag }}
prerelease: false
env:
GITHUB_REPOSITORY: my_gh_org/my_gh_repo
GITHUB_REPOSITORY: ${{ github.repository }}