Skip to content

Commit

Permalink
Merge pull request #224 from veraison/auto-tag
Browse files Browse the repository at this point in the history
Add github action to tag the repo monthly
  • Loading branch information
thomas-fossati authored May 23, 2024
2 parents 4e66fdd + 9509e74 commit 45aad8c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/time-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Automatic monthly tag with format v0.0.yyMM
on:
schedule:
# At 00:00 on the first day of each month
- cron: '0 0 1 * *'
jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: action/checkout@v3
with:
fetch-depth: 0
- name: Generate a new tag and push it
run: |
TAG="v0.0.$(date +%y%m)"
git tag $TAG
git push origin $TAG

0 comments on commit 45aad8c

Please sign in to comment.