Skip to content

Commit

Permalink
Merge pull request #14 from alps-asd/v1-tag
Browse files Browse the repository at this point in the history
Create GH action to push v1 tag on every release
  • Loading branch information
NaokiTsuchiya authored Nov 23, 2021
2 parents cb059cc + f0c0440 commit 624258b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/error.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release v1
on:
workflow_dispatch:
release:
types: [published]
jobs:
publish:
name: Release
runs-on: ubuntu-latest

steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: master
- run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- run: |
git tag -f v1
git push -f origin v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 624258b

Please sign in to comment.