We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 627f59b commit 9758bc0Copy full SHA for 9758bc0
.github/workflows/release-aws-s3.yml
@@ -80,6 +80,19 @@ jobs:
80
curl -L --fail -o "$f" "$url"
81
done
82
83
+ - name: Fetch existing releases.json from S3 (if any)
84
+ env:
85
+ BUCKET: ${{ env.BUCKET }}
86
+ run: |
87
+ mkdir -p meta
88
+ if aws s3 ls "s3://$BUCKET/releases/releases.json" >/dev/null 2>&1; then
89
+ echo "Found existing releases.json in S3. Downloading..."
90
+ aws s3 cp "s3://$BUCKET/releases/releases.json" meta/releases.json
91
+ else
92
+ echo "No releases.json in S3. Initializing with empty array."
93
+ echo '[]' > meta/releases.json
94
+ fi
95
+
96
- name: Build/merge releases.json (keep max N entries)
97
env:
98
TAG: ${{ steps.rel.outputs.tag }}
0 commit comments