-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update carvel-release-scripts with metadata file
- carvel-release-scripts will use the release yaml to generate the associated assets (such as the homebrew formula) and is responsible to updating the various distribution channels from it. - Add ssh-key when checking out carvel-release-scripts - Fix typo in repo Authored-by: Dennis Leon <leonde@vmware.com>
- Loading branch information
1 parent
bb91b82
commit f510b37
Showing
2 changed files
with
87 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -xeu | ||
|
||
if ! type act; then | ||
echo 'Install act via https://github.com/nektos/act#installation-through-package-managers' | ||
exit 1 | ||
fi | ||
|
||
# SECRETS: | ||
# CARVEL_RELEASE_SCRIPTS_PAT / Push access to vmware-tanzu/carvel-release-scripts | ||
|
||
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads | ||
act push -e <(cat <<EOF | ||
{ | ||
"push": { | ||
"ref": "refs/tags/v0.0.0" | ||
} | ||
} | ||
EOF | ||
) --job goreleaser --job carvel-release-scripts --env SKIP_PUBLISH='--skip-publish' --dryrun |