Skip to content

Commit 85a3a6e

Browse files
Fix Github bundle release script (#3315)
1 parent 7331e75 commit 85a3a6e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

release/scripts/github-bundle-release.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,14 @@ RELEASE_NOTES_PATH="$SCRIPT_ROOT/github-bundle-release-notes"
2626
export DATE_YYYYMMDD=$(date "+%F")
2727
RELEASE_TAG="weekly.$DATE_YYYYMMDD"
2828

29-
# Authenticating to GitHub with the bot token
30-
echo "$GITHUB_TOKEN" | gh auth login --with-token
31-
3229
# Filling in values for the GitHub Release notes template
3330
envsubst '$DATE_YYYYMMDD:$BUILD_REPO_HEAD:$CLI_REPO_HEAD' \
3431
< "$RELEASE_NOTES_PATH.tmpl" \
3532
> "$RELEASE_NOTES_PATH"
3633

3734
# Downloading the weekly bundle release manifest
3835
mkdir -p $ARTIFACTS_DIR
39-
wget $BUNDLE_MANIFEST_URL $ARTIFACTS_DIR/weekly-bundle-release.yaml
36+
wget $BUNDLE_MANIFEST_URL -O $ARTIFACTS_DIR/$DATE_YYYYMMDD-bundle-release.yaml
4037

4138
# Publish the asset as a Github pre-release on main branch with a new dated tag
42-
gh release create $RELEASE_TAG $ARTIFACTS_DIR/weekly-bundle-release.yaml --notes-file "RELEASE_NOTES_PATH" --prerelease --repo "github.com/aws/eks-anywhere" --title "Weekly Release $DATE_YYYYMMDD" --target "main"
39+
gh release create $RELEASE_TAG $ARTIFACTS_DIR/$DATE_YYYYMMDD-bundle-release.yaml --notes-file "$RELEASE_NOTES_PATH" --prerelease --repo "github.com/aws/eks-anywhere" --title "Weekly Release $DATE_YYYYMMDD" --target "main"

0 commit comments

Comments
 (0)