Skip to content

Commit

Permalink
ci: setup release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Cteq3132 committed Jun 7, 2024
1 parent 9bb5c0b commit 6e65a5d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/github-release-from-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# .github/github-release-from-tag.yml

# Set to true to produce releases in a draft state.
draft: false

# Set to true to append automatically generated release notes to release bodies.
generateReleaseNotes: false

# Set to true or false to override the automatic tag name based pre-release
# detection.
prerelease: false

assets:
# A path is required for each asset.
- path: windows/feuille_de_match_electronique_staging.exe

checksum:
# Set to false to disable generation of checksum assets for releases.
generateAssets: false
18 changes: 18 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# .github/workflows/publish-release.yml
name: Publish release
on:
push:
tags:
- "*"
jobs:
publish:
name: Publish release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Publish release
uses: ghalactic/github-release-from-tag@v5

0 comments on commit 6e65a5d

Please sign in to comment.