-
Notifications
You must be signed in to change notification settings - Fork 496
chore(ci): use gh release and rm unused nightly logic #2182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
98d2bbd
to
4c23308
Compare
.github/workflows/release.yml
Outdated
@@ -6,7 +6,6 @@ on: | |||
push: | |||
branches: | |||
- main | |||
workflow_dispatch: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should only be ran on main
with: | ||
script: | | ||
const createTag = require('./.github/scripts/create-tag.js') | ||
await createTag({ github, context }, process.env.TAG_NAME) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tag name should only be the version were making
|
||
- name: Build changelog | ||
id: build_changelog | ||
uses: mikepenz/release-changelog-builder-action@v4 | ||
with: | ||
fromTag: ${{ env.IS_NIGHTLY && 'nightly' || '' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks for the last release by default
.github/workflows/release.yml
Outdated
uses: actions/setup-go@v5 | ||
# Install rust and go. | ||
- name: Setup CI | ||
uses: ./.github/actions/setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Installs go and rust and stuff
4c23308
to
3ff19f2
Compare
74902d6
to
53e87df
Compare
53e87df
to
10b4c0f
Compare
No description provided.