-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Raul Centeno <[email protected]>
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ set -exo pipefail | |
|
||
pip install requests jinja2 poetry python-semantic-release # TODO: Look into Dockerizing these tools so we're not pulling them down each pipeile run | ||
export secureliVersion=$(semantic-release print-version --current) | ||
cd homebrew-secureli | ||
if git rev-parse "v${secureliVersion}" >/dev/null 2>&1; then | ||
echo "The tag v${secureliVersion} that would have been deployed already exists, ending pipeline execution..." | ||
exit 1 | ||
|
@@ -13,8 +14,7 @@ else | |
export secureliSha256=$(sha256sum ./secureli-${secureliVersion}.tar.gz | awk '{print $1}') | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Secureli Automation" | ||
python ./scripts/get-secureli-dependencies.py | ||
cd homebrew-secureli | ||
python ../scripts/get-secureli-dependencies.py | ||
git checkout -b "secureli-${secureliVersion}-formula-generation" | ||
git add ./Formula/secureli.rb | ||
git commit -m "Creating pull request with latest Secureli formula for version ${secureliVersion}" | ||
|