Skip to content

Commit

Permalink
ci: Publish into beta.9 distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Dec 21, 2024
1 parent 99e964f commit 25b03d6
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/release-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,17 @@ jobs:
- name: Deploy to S3
run: |
# Put the release-info.json
aws s3api put-object \
--bucket kitten-science-us0 \
--key v2.0.0-beta.8/release-info.json \
--cache-control "public, s-maxage=3600" \
--content-type "application/json" \
--body release-info.json
aws s3api put-object \
--bucket kitten-science-us0 \
--key main/release-info.json \
--cache-control "public, s-maxage=3600" \
--content-type "application/json" \
--body release-info.json
for PREFIX in "v2.0.0-beta.8" "main"; do
# These files are intended for auto-update mechanisms.
# We don't need to care to put the "correct" versions into their correlating prefixes.
for PREFIX in "v2.0.0-beta.8" "v2.0.0-beta.9" "main"; do
# Put the release-info.json
aws s3api put-object \
--bucket kitten-science-us0 \
--key $PREFIX/release-info.json \
--cache-control "public, s-maxage=3600" \
--content-type "application/json" \
--body release-info.json
# Put the dev scripts on the channel.
aws s3api put-object \
--bucket kitten-science-us0 \
Expand Down

0 comments on commit 25b03d6

Please sign in to comment.