Skip to content

Commit

Permalink
Create tagrelease.yml (#75)
Browse files Browse the repository at this point in the history
Create workflow which triggers a run to create a new tag
  • Loading branch information
sidey79 authored Oct 4, 2021
1 parent 5a28cc8 commit 80b310e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tagrelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: TagRelease

on:
# Triggers the workflow on push events but only for the main branch!
push:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
create:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Auto tag
uses: Klemensas/action-autotag@1.2.3
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
package_root: ./
tag_prefix: "v"

0 comments on commit 80b310e

Please sign in to comment.