Skip to content

Commit

Permalink
test release candidate action (#141)
Browse files Browse the repository at this point in the history
Co-authored-by: cnolan <[email protected]>
  • Loading branch information
nolancon and cnolan authored Jan 18, 2024
1 parent b0535b7 commit 372425e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/tag-rc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Tag Release Canditate

on:
workflow_dispatch:
inputs:
version:
description: 'Release canditate version (e.g. v0.1.0-rc.0)'
required: true
message:
description: 'Tag message'
required: true

concurrency:
group: tag-${{ github.ref }}-1
cancel-in-progress: true

permissions:
contents: write
pull-requests: write

jobs:
create-tag:
runs-on: ubuntu-22.04
env:
VERSION: ${{ github.event.inputs.version }}
MESSAGE: ${{ github.event.inputs.message }}
BRANCH: main
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set git config
run: |
git config user.name "GitHub Actions"
git config user.email "<>"
- name: Tag
run: |
git tag $VERSION -m "$MESSAGE"
git push origin $VERSION

0 comments on commit 372425e

Please sign in to comment.