-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: delete beta tag before generating changelog
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,12 +29,17 @@ jobs: | |
ref: tags/beta | ||
sha: ${{ github.sha }} | ||
|
||
- name: Delete beta tag | ||
run: git tag -d beta | ||
continue-on-error: true | ||
|
||
- name: changelog # or [email protected] if ensure the stable result | ||
id: changelog | ||
run: | | ||
git tag -l | ||
npx changelogithub --output CHANGELOG.md | ||
# npx changelogen@latest --output CHANGELOG.md | ||
|
||
- name: Upload assets | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,10 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Delete beta tag | ||
run: git tag -d beta | ||
continue-on-error: true | ||
|
||
- run: npx changelogithub # or [email protected] if ensure the stable result | ||
env: | ||
GITHUB_TOKEN: ${{secrets.MY_TOKEN}} |