Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix retriggering the release CI #568

Closed
chmouel opened this issue Apr 12, 2022 · 0 comments · Fixed by #569
Closed

Fix retriggering the release CI #568

chmouel opened this issue Apr 12, 2022 · 0 comments · Fixed by #569
Assignees
Labels

Comments

@chmouel
Copy link
Member

chmouel commented Apr 12, 2022

When CI has failed and we retrigger CI we get a failure :

++ git --no-pager tag --points-at HEAD
+ version='0.6.x
stable'
+ [[ -z 0.6.x
stable ]]
+ stable_tag=0.6.x
+ msg='Release 0.6.x
stable, Stable Tag: 0.6.x'
+ echo Release 0.6.x stable, Stable Tag: 0.6.x
Release 0.6.x stable, Stable Tag: 0.6.x
+ export 'PAC_VERSION=0.6.x
stable' 'TARGET_BRANCH=0.6.x
stable'
+ PAC_VERSION='0.6.x
stable'
+ TARGET_BRANCH='0.6.x
stable'
++ ./hack/generate-releaseyaml.sh
+ hack/upload-file-to-github.py --message 'Release yaml generated for Release 0.6.x
stable, Stable Tag: 0.6.x' --owner-repository openshift-pipelines/pipelines-as-code --token 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 --update-tags=stable,0.6.x --from-tag=refs/tags/0.6.x stable -f /dev/fd/63:release.k8s.yaml -f /dev/fd/62:release.yaml
++ env TARGET_OPENSHIFT=true ./hack/generate-releaseyaml.sh
sed: -e expression #1, char 155: unterminated `s' command
sed: -e expression #1, char 155: unterminated `s' command
usage: upload-file-to-github.py [-h] --filename FILENAME --message MESSAGE
                                --owner-repository OWNER_REPOSITORY
                                [--update-tags UPDATE_TAGS] --token TOKEN
                                [--branch-ref BRANCH_REF]
                                [--from-tag FROM_TAG]
upload-file-to-github.py: error: unrecognized arguments: stable

since we have two tags and it woul fail on it,

@chmouel chmouel self-assigned this Apr 12, 2022
@chmouel chmouel added the ci label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant