Skip to content

Commit

Permalink
chore: remove short sha from releases yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Revyn112 committed Nov 20, 2023
1 parent 75bbb77 commit 9808cdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/livery-package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,11 @@ jobs:
- name: Upload to CloudFlare CDN
run: |
./scripts/cdn.sh $CDN_BUCKET_DESTINATION ./hdw-a339x-liveries/out/build-modules
- name: Get short SHA
uses: benjlevesque/[email protected]
id: short-sha
- name: Upload Release Config to CloudFlare CDN
env:
SHA: ${{ steps.short-sha.outputs.sha }}
run: |
mkdir -p ./hdw-a339x-liveries/out/config
echo "releases:" >> ./hdw-a339x-liveries/out/config/releases.yaml
echo " - name: $SHA" >> ./hdw-a339x-liveries/out/config/releases.yaml
echo " - name: $GITHUB_REF_NAME" >> ./hdw-a339x-liveries/out/config/releases.yaml
echo " date: $(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> ./hdw-a339x-liveries/out/config/releases.yaml
./scripts/cdn.sh $CDN_BUCKET_DESTINATION ./hdw-a339x-liveries/out/config
build-su95x-livery-package:
Expand Down Expand Up @@ -148,15 +143,10 @@ jobs:
- name: Upload to CloudFlare CDN
run: |
./scripts/cdn.sh $CDN_BUCKET_DESTINATION ./hdw-su95x-liveries/out/build-modules
- name: Get short SHA
uses: benjlevesque/[email protected]
id: short-sha
- name: Upload Release Config to CloudFlare CDN
env:
SHA: ${{ steps.short-sha.outputs.sha }}
run: |
mkdir -p ./hdw-su95x-liveries/out/config
echo "releases:" >> ./hdw-su95x-liveries/out/config/releases.yaml
echo " - name: $SHA" >> ./hdw-su95x-liveries/out/config/releases.yaml
echo " - name: $GITHUB_REF_NAME" >> ./hdw-su95x-liveries/out/config/releases.yaml
echo " date: $(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> ./hdw-su95x-liveries/out/config/releases.yaml
./scripts/cdn.sh $CDN_BUCKET_DESTINATION ./hdw-su95x-liveries/out/config
16 changes: 3 additions & 13 deletions .github/workflows/livery-package-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,12 @@ jobs:
cd ../../
- name: Upload to CloudFlare CDN
run: |
./scripts/cdn.sh $CDN_BUCKET_DESTINATION ./hdw-a339x-liveries/out/build-modules
- name: Get short SHA
uses: benjlevesque/[email protected]
id: short-sha
./scripts/cdn.sh $CDN_BUCKET_DESTINATION ./hdw-a339x-liveries/out/build-modules
- name: Upload Release Config to CloudFlare CDN
env:
SHA: ${{ steps.short-sha.outputs.sha }}
run: |
mkdir -p ./hdw-a339x-liveries/out/config
echo "releases:" >> ./hdw-a339x-liveries/out/config/releases.yaml
echo " - name: $SHA" >> ./hdw-a339x-liveries/out/config/releases.yaml
echo " - name: $GITHUB_REF_NAME" >> ./hdw-a339x-liveries/out/config/releases.yaml
echo " date: $(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> ./hdw-a339x-liveries/out/config/releases.yaml
./scripts/cdn.sh $CDN_BUCKET_DESTINATION ./hdw-a339x-liveries/out/config
build-su95x-livery-package:
Expand Down Expand Up @@ -145,15 +140,10 @@ jobs:
- name: Upload to CloudFlare CDN
run: |
./scripts/cdn.sh $CDN_BUCKET_DESTINATION ./hdw-su95x-liveries/out/build-modules
- name: Get short SHA
uses: benjlevesque/[email protected]
id: short-sha
- name: Upload Release Config to CloudFlare CDN
env:
SHA: ${{ steps.short-sha.outputs.sha }}
run: |
mkdir -p ./hdw-su95x-liveries/out/config
echo "releases:" >> ./hdw-su95x-liveries/out/config/releases.yaml
echo " - name: $SHA" >> ./hdw-su95x-liveries/out/config/releases.yaml
echo " - name: $GITHUB_REF_NAME" >> ./hdw-su95x-liveries/out/config/releases.yaml
echo " date: $(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> ./hdw-su95x-liveries/out/config/releases.yaml
./scripts/cdn.sh $CDN_BUCKET_DESTINATION ./hdw-su95x-liveries/out/config

0 comments on commit 9808cdf

Please sign in to comment.