Skip to content

Commit 6f862ea

Browse files
author
Thing-han, Lim
committed
fix: only download app version without the dev tag
1 parent d648c62 commit 6f862ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: List Release Objects
3535
id: list-object
3636
run: |
37-
app_releases=$(aws s3api list-objects --bucket aorta-chelpis --prefix build/aorta-app-installer/aorta-app-installer-${{github.event.inputs.app-version}} | jq -cer '[.Contents[].Key]' | tr '"' '\"')
37+
app_releases=$(aws s3api list-objects --bucket aorta-chelpis --prefix build/aorta-app-installer/aorta-app-installer-${{github.event.inputs.app-version}} | jq -cer '[.Contents[].Key | select(contains("-dev-") | not)]' | tr '"' '\"')
3838
echo "APP Releases: $app_releases"
3939
endpoint_releases=$(aws s3api list-objects --bucket aorta-chelpis --prefix build/aorta-endpoint-installer/aorta-endpoint-v${{github.event.inputs.endpoint-version}} | jq -cer '[.Contents[].Key]' | tr '"' '\"')
4040
echo "Endpoint Releases: $endpoint_releases"

0 commit comments

Comments
 (0)