Skip to content

Commit

Permalink
Common releaser (#535)
Browse files Browse the repository at this point in the history
* this? maybe?

* this? maybe?
  • Loading branch information
jakthom committed Apr 28, 2023
1 parent 3aae8c1 commit 5a33142
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 37 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,36 @@ on:
- main

jobs:
tag-release:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
fetch-depth: 0

- name: Get Version from file
id: get-version
uses: juliangruber/[email protected]
with:
path: ./.VERSION

- name: Configure Git
run: |
git config user.email "[email protected]"
git config user.name "$GITHUB_ACTOR"
- name: Set Reftag
id: tag-version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.get-version.outputs.content }}
tag_prefix: ""

cut-release:
runs-on: ubuntu-latest
needs: tag-release
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/tag.yml

This file was deleted.

0 comments on commit 5a33142

Please sign in to comment.