Skip to content

Added auto tag workflow #1

Added auto tag workflow

Added auto tag workflow #1

Workflow file for this run

name: Auto Tag
on:
push:
branches:
- main
jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create tag
id: tag
run: echo "TAG=v1.0.${{ github.run_number }}" >> $GITHUB_ENV
- name: Push tag
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git tag ${{ env.TAG }}
git push origin ${{ env.TAG }}