Skip to content

Commit 668467e

Browse files
committed
Rename alpha->edge
1 parent 79364b0 commit 668467e

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/cli-release.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
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

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ archives:
2626
- no-files-will-match-* # Glob that does not match to create archive with only binaries.
2727
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
2828
snapshot:
29-
name_template: "{{ .Env.ALPHA_TAG }}"
29+
name_template: "{{ .Env.EDGE_TAG }}"
3030
checksum:
3131
name_template: "checksums.txt"
3232
algorithm: sha256

0 commit comments

Comments
 (0)