Skip to content

Commit

Permalink
Merge pull request #37 from nicholasarvelo/nicholas/refactor-github-t…
Browse files Browse the repository at this point in the history
…agging-workflow

[nicholas] Refactor GitHub Tag and Release Version Workflow
  • Loading branch information
nicholasarvelo authored Nov 2, 2023
2 parents f57f462 + 857dc60 commit 0011940
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/bump-git-tag.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/bump-tag-and-release-versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Bump GitHub Tag & Release Versions

on:
push:
branches:
- main

env:
FETCH_ALL: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Bump version and Push Tag
id: bump_tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
fetch_all_tags: ${{ env.FETCH_ALL }}
- name: Create a GitHub Release
uses: ncipollo/[email protected]
with:
tag: ${{ steps.bump_tag_version.outputs.new_tag }}
name: Release ${{ steps.bump_tag_version.outputs.new_tag }}
body: ${{ steps.bump_tag_version.outputs.changelog }}

0 comments on commit 0011940

Please sign in to comment.