Skip to content

Commit

Permalink
ci: refactor release action to include rc versions and push to releas…
Browse files Browse the repository at this point in the history
…e branch
  • Loading branch information
dmijatovic committed Jul 2, 2024
1 parent e168654 commit 855b40c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ name: release

on:
workflow_dispatch:
inputs:
pre_release:
required: true
description: Create pre-release version, eq. 1.0.0-rc.0
type: boolean
default: false
push:
branches:
- release

jobs:
release_tag:
Expand Down Expand Up @@ -35,6 +44,10 @@ jobs:
skip-git-pull: true
# skip tag push - it will not push but it will tag
git-push: false
# set to true to flag rc, eg 0.1.0-rc.0
pre-release: ${{inputs.pre_release}}
# initial version if no tag present
fallback-version: 0.0.1

log_release_tag:
needs: release_tag
Expand Down

0 comments on commit 855b40c

Please sign in to comment.