-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved generate releases page script
- Loading branch information
Benjamin Toll
committed
Oct 27, 2020
1 parent
14116d3
commit 1d95bba
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 10 additions & 1 deletion
11
scripts/release/mule/deploy/releases_page/generate_releases_page.sh
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 |
---|---|---|
@@ -1,8 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Note: For this script to correctly pick up the new release, the new repo containing the new | ||
# packages MUST have been already pushed to S3! (See the deb deployment mule step.) | ||
# | ||
# 1. Generate the new releases page from the contents of `algorand-dev-deb-repo/releases/CHANNEL`. | ||
# 2. Backup up the current releases page (index.html). | ||
# 3. Copy the new index.html to staging. | ||
# 4. Copy the new index.html to `algorand-releases`. | ||
|
||
set -ex | ||
|
||
./generate_releases_page.py > index.html | ||
aws s3 cp s3://algorand-releases/index.html s3://algorand-staging/releases-page/index.html-previous | ||
aws s3 cp index.html s3://algorand-staging/releases-page/ | ||
aws s3 cp s3://algorand-staging/releases-page/index.html s3://algorand-releases/ | ||
aws s3 cp index.html s3://algorand-releases/ | ||
|