Skip to content

Commit

Permalink
Do not copy beta builds to versionless links in S3 release bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Mar 12, 2024
1 parent 6a035dc commit f9825be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,9 @@ jobs:
ls -l
mv ${{ env.dist_source }} ${{ env.dist }}
mv ${{ env.update_source }} ${{ env.update }}
cp ${{ env.dist }} ${{ env.dist_versionless }}
shasum -a 256 ${{ env.dist }} | cut -d " " -f 1 > ${{ env.dist }}.sha256
shasum -a 256 ${{ env.update }} | cut -d " " -f 1 > ${{ env.update }}.sha256
cp ${{ env.dist }}.sha256 ${{ env.dist_versionless }}.sha256
ls -l
s3cmd put --acl-public ${{ env.dist }} ${{ env.update }} ${{ env.update }}.sha256 ${{ env.dist }}.sha256 ${{ env.dist_versionless }}.sha256 ${{ env.dist_versionless }} "s3://lantern"
s3cmd put --acl-public ${{ env.dist }} ${{ env.update }} ${{ env.update }}.sha256 ${{ env.dist }}.sha256 "s3://lantern"
4 changes: 1 addition & 3 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,10 @@ jobs:
ls -l
cat lantern.exe | bzip2 > ${{ env.update }}
mv lantern-installer${{inputs.installer-suffix}}.exe ${{ env.dist }}
cp ${{ env.dist }} ${{ env.dist_versionless }}
shasum -a 256 ${{ env.dist }} | cut -d " " -f 1 > ${{ env.dist }}.sha256
shasum -a 256 ${{ env.update }} | cut -d " " -f 1 > ${{ env.update }}.sha256
cp ${{ env.dist }}.sha256 ${{ env.dist_versionless }}.sha256
ls -l
s3cmd put --acl-public ${{ env.dist }} ${{ env.update }} ${{ env.update }}.sha256 ${{ env.dist }}.sha256 ${{ env.dist_versionless }}.sha256 ${{ env.dist_versionless }} "s3://lantern"
s3cmd put --acl-public ${{ env.dist }} ${{ env.update }} ${{ env.update }}.sha256 ${{ env.dist }}.sha256 "s3://lantern"

0 comments on commit f9825be

Please sign in to comment.