Skip to content

Commit

Permalink
ci: add a smaller version of starbase's release-publish
Browse files Browse the repository at this point in the history
This app-specific workflow does not build the wheel or publish it - it just
creates the Github release, as a prerelease.
  • Loading branch information
tigarmo committed Jan 30, 2025
1 parent 97107ff commit 3666da2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release
on:
push:
tags:
# These tags should be protected, remember to enable the rule:
# https://github.com/canonical/starbase/settings/tag_protection
- "[0-9]+.[0-9]+.[0-9]+"

permissions:
contents: write

jobs:
github-release:
runs-on: [self-hosted]
steps:
- name: Create a Prerelease
uses: softprops/action-gh-release@v2
with:
# Generate release notes on the new GH release
generate_release_notes: true
# Mark this new release as a pre-release, to be marked manually
# as the latest stable release later.
prerelease: true

0 comments on commit 3666da2

Please sign in to comment.