Skip to content

Commit 1be7c03

Browse files
authored
Tweaks to release process (#123)
## Summary + Disable automatic Discord announcement. It's not working great right now, and I'd rather turn it off until we improve it. + Clean up "prerelease" terminology in Github Action. ## How was it tested? Via this PR
1 parent 783704c commit 1be7c03

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
# Build/Release on demand
77
workflow_dispatch:
88
inputs:
9-
is_snapshot_release:
10-
description: "Publish Release:"
9+
is_prerelease:
10+
description: "Pre-release?"
1111
required: false
1212
default: false
1313
type: boolean
@@ -26,11 +26,11 @@ jobs:
2626
tests:
2727
uses: ./.github/workflows/tests.yaml
2828

29-
release-snapshot:
29+
prerelease:
3030
runs-on: ubuntu-latest
3131
environment: release
3232
needs: tests
33-
if: ${{ inputs.is_snapshot_release || github.event.schedule }}
33+
if: ${{ inputs.is_prerelease || github.event.schedule }}
3434
steps:
3535
- name: Checkout source code
3636
uses: actions/checkout@v3

.goreleaser.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,35 +36,35 @@ announce:
3636
discord:
3737
# Whether its enabled or not.
3838
# Defaults to false.
39-
enabled: true
39+
enabled: false
4040

4141
# Message template to use while publishing.
4242
# Defaults to `{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}`
4343
message_template: |
4444
**New Release: Devbox {{.Tag}}**
4545
We just released a version {{.Tag}} of `devbox`.
46-
46+
4747
Description:
4848
{{.TagBody}}
49-
49+
5050
Release: {{.ReleaseURL}}
51-
51+
5252
Updating:
5353
If you installed devbox via our recommended installer
5454
(`curl -fsSL https://get.jetpack.io/devbox | bash`) you will get the new version
5555
_automatically_, the next time you run `devbox`
56-
56+
5757
Thanks,
5858
jetpack.io
5959
6060
# Set author of the embed.
6161
# Defaults to `GoReleaser`
62-
author: 'jetpack.io'
62+
author: "jetpack.io"
6363

6464
# Color code of the embed. You have to use decimal numeral system, not hexadecimal.
6565
# Defaults to `3888754` - the grey-ish from goreleaser
66-
color: '2622553' #This is the Jetpack Space color
66+
color: "2622553" #This is the Jetpack Space color
6767

6868
# URL to an image to use as the icon for the embed.
6969
# Defaults to `https://goreleaser.com/static/avatar.png`
70-
icon_url: ''
70+
icon_url: ""

0 commit comments

Comments
 (0)