mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 10:17:56 +00:00
ci: fix releaser action
This commit is contained in:
1 parent
561c7f97fc
commit
eda76fd050
2 files changed
+42
-8
No files matched your search
@@ -22,6 +22,8 @@ concurrency:
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
LOG_LEVEL: INFO
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -53,15 +55,13 @@ jobs:
|
||||
- name: Show plan (dry run)
|
||||
if: ${{ inputs.dry_run }}
|
||||
run: |
|
||||
poetry run python scripts/release_modules.py --print-plan
|
||||
poetry run python scripts/release_modules.py --print-plan --log-level $LOG_LEVEL
|
||||
|
||||
- name: Release (commit, tag, push)
|
||||
if: ${{ !inputs.dry_run }}
|
||||
run: |
|
||||
if [ "${{ inputs.propagate }}" = "true" ]; then
|
||||
poetry run python scripts/release_modules.py --yes --propagate
|
||||
poetry run python scripts/release_modules.py --yes --propagate --log-level $LOG_LEVEL
|
||||
else
|
||||
poetry run python scripts/release_modules.py --yes --no-propagate
|
||||
poetry run python scripts/release_modules.py --yes --no-propagate --log-level $LOG_LEVEL
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user