Generator: split kind supports optional tag-trigger + setup-comment + publish-flag (oleks/ci-scripts#2)
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
- event: tag
|
||||
|
||||
{tag_event_line}
|
||||
clone:
|
||||
- name: clone
|
||||
image: woodpeckerci/plugin-git
|
||||
@@ -33,7 +32,5 @@ steps:
|
||||
pipeline-number: "${{CI_PIPELINE_NUMBER}}"
|
||||
commands:
|
||||
- echo "▸ arch=$(uname -m)"
|
||||
# nix.conf substituters + {git_host} netrc (to fetch the parity-lib
|
||||
# flake input). Same bootstrap as flake-hub/ci/setup.sh.
|
||||
- sh {setup_script}
|
||||
{entrypoint_comment} - PUBLISH=1 nix run .#{app} -- --publish
|
||||
{setup_comment} - sh {setup_script}
|
||||
{entrypoint_comment} - PUBLISH=1 nix run .#{app}{publish_flag}
|
||||
|
||||
Reference in New Issue
Block a user