Skip to content

Commit

Permalink
ci: add workflow for automatic monthly snapshots (#1260)
Browse files Browse the repository at this point in the history
Fixes #1130
  • Loading branch information
thehowl committed Oct 19, 2023
1 parent 89428c5 commit 3f2f5a2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/monthly-snapshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Monthly Snapshots

on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate tag name
id: tag_name
run: echo "::set-output name=tag_name::v0.0.1-dev.$(date +'%Y.%m.%d')"
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
prerelease: true
tag_name: '${{ steps.tag_name.outputs.tag_name }}'

0 comments on commit 3f2f5a2

Please sign in to comment.