File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,17 +26,14 @@ RELEASE_NOTES_PATH="$SCRIPT_ROOT/github-bundle-release-notes"
2626export DATE_YYYYMMDD=$( date " +%F" )
2727RELEASE_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
3330envsubst ' $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
3835mkdir -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"
You can’t perform that action at this time.
0 commit comments