Skip to content

Commit

Permalink
Merge pull request #50 from spglib/release-ci
Browse files Browse the repository at this point in the history
gh-release
  • Loading branch information
lan496 authored Jan 21, 2025
2 parents 09392ab + 1d4064e commit e51a3dc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
workflow_dispatch: {}
jobs:
release:
name: Create release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: softprops/action-gh-release@v2
with:
name: moyo ${{ github.ref_name }}
draft: true
prerelease: ${{ contains(github.ref, 'rc') }}
generate_release_notes: true

0 comments on commit e51a3dc

Please sign in to comment.