Visitar URL original
ci: workflow arguments · NativeScript/NativeScript@5cc6276 · GitHub
Skip to content

Commit 5cc6276

Browse files
committed
ci: workflow arguments
1 parent 34340aa commit 5cc6276

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/secure_nx_release.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ jobs:
219219
if: ${{ steps.ctx.outputs.mode == 'main' && steps.affected.outputs.count == '0' }}
220220
run: echo "No affected release projects on main; skipping version + publish."
221221

222-
# Orchestrated release: bumps versions, generates changelogs, commits + tags + pushes in one shot.
222+
# Orchestrated release: bumps versions, generates changelogs, commits + tags in one shot.
223+
# The orchestrator does not accept --git-* flags (config-driven only); push is handled in the next step.
223224
# --skip-publish keeps publishing as a separate step below so the OIDC token-clearing logic still runs.
224225
- name: nx release version + changelog (dispatch)
225226
if: ${{ steps.ctx.outputs.mode == 'dispatch' && !inputs.dry-run }}
@@ -243,10 +244,12 @@ jobs:
243244
"${preid_arg[@]}" \
244245
"${projects_arg[@]}" \
245246
--skip-publish \
246-
--git-commit \
247-
--git-push \
248247
--verbose
249248
249+
- name: Push release commit and tags (dispatch)
250+
if: ${{ steps.ctx.outputs.mode == 'dispatch' && !inputs.dry-run }}
251+
run: git push --follow-tags
252+
250253
- name: nx release version + changelog (dispatch, dry-run)
251254
if: ${{ steps.ctx.outputs.mode == 'dispatch' && inputs.dry-run }}
252255
shell: bash

0 commit comments

Comments
 (0)