77 # Build/Release on demand
88 workflow_dispatch :
99 inputs :
10- create_alpha_release :
11- description : " Create alpha release?"
10+ create_edge_release :
11+ description : " Create edge release?"
1212 required : false
1313 default : false
1414 type : boolean
1515 schedule :
16- - cron : " 45 8 * * 4" # Create alpha weekly on Thursdays.
16+ - cron : " 45 8 * * 4" # Create edge weekly on Thursdays.
1717 push :
1818 tags :
1919 - " *" # Tags that trigger a new release version
@@ -29,25 +29,25 @@ jobs:
2929 with :
3030 run-mac-tests : true
3131
32- alpha :
32+ edge :
3333 runs-on : ubuntu-latest
3434 environment : release
3535 needs : tests
36- if : ${{ inputs.create_alpha_release || github.event.schedule }}
36+ if : ${{ inputs.create_edge_release || github.event.schedule }}
3737 steps :
3838 - name : Checkout source code
3939 uses : actions/checkout@v3
4040 with :
4141 fetch-depth : 0 # Needed by goreleaser to browse history.
42- - name : Determine alpha tag
42+ - name : Determine edge tag
4343 # This tag is semver and works with semver.Compare
44- run : echo "ALPHA_TAG =0.0.0-alpha .$(date +%Y-%m-%d)" >> $GITHUB_ENV
45- - name : Set alpha tag
44+ run : echo "EDGE_TAG =0.0.0-edge .$(date +%Y-%m-%d)" >> $GITHUB_ENV
45+ - name : Set edge tag
4646 id : tag_version
4747 uses :
mathieudutour/[email protected] 4848 with :
4949 github_token : ${{ secrets.GITHUB_TOKEN }}
50- custom_tag : ${{ env.ALPHA_TAG }}
50+ custom_tag : ${{ env.EDGE_TAG }}
5151 tag_prefix : " "
5252 - name : Set up go
5353 uses : actions/setup-go@v4
@@ -72,13 +72,13 @@ jobs:
7272 SENTRY_PROJECT : ${{ vars.SENTRY_PROJECT }}
7373 with :
7474 environment : development
75- version : ${{ env.ALPHA_TAG }}
75+ version : ${{ env.EDGE_TAG }}
7676 - name : Publish snapshot release to GitHub
7777 uses : softprops/action-gh-release@v1
7878 with :
7979 prerelease : true
8080 fail_on_unmatched_files : true
81- tag_name : ${{ env.ALPHA_TAG }}
81+ tag_name : ${{ env.EDGE_TAG }}
8282 files : |
8383 dist/checksums.txt
8484 dist/*.tar.gz
@@ -87,11 +87,11 @@ jobs:
8787 with :
8888 role-to-assume : ${{ secrets.AWS_ROLE }}
8989 aws-region : us-west-2
90- - name : Update alpha version in s3
90+ - name : Update edge version in s3
9191 run : |
9292 tmp_file=$(mktemp)
93- echo "${{ env.ALPHA_TAG }}" > $tmp_file
94- aws s3 cp $tmp_file s3://releases.jetpack.io/devbox/alpha /version
93+ echo "${{ env.EDGE_TAG }}" > $tmp_file
94+ aws s3 cp $tmp_file s3://releases.jetpack.io/devbox/edge /version
9595
9696 release :
9797 runs-on : ubuntu-latest
0 commit comments