-
Notifications
You must be signed in to change notification settings - Fork 25
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
add draft-release support #167
add draft-release support #167
Conversation
ISSUE_REPOSITORY: slsa-framework/slsa-github-generator | ||
# WARNING: update build job if CONFIG_FILE changes. | ||
CONFIG_FILE: .github/configs-go/config-ldflags-tag.yml | ||
DEFAULT_VERSION: v34.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update to v35.0.0. We need unique versions for each e2e tests. v34.0.0 is already taken. You could not have know, we don't have documentation on this :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some doc on DEFAULT_VERSION
to the e2e tests' readme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, this is really useful!
run: | | ||
set -euo pipefail | ||
|
||
./.github/workflows/scripts/e2e-create-release.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to update this file to mark the release as a draft in the API call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I added draft release support into the script, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
kindly ping @laurentsimon |
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
as we merged slsa-framework/slsa-github-generator#1882, we need to test it requested by @ianlewis and @laurentsimon in slsa-framework/slsa-github-generator#1476. So, this PR aims to create a test for draft-release support.