-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(ci_cd): fix indent error for perform release CI
- Loading branch information
1 parent
3e85891
commit 6074a55
Showing
1 changed file
with
26 additions
and
21 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 |
---|---|---|
|
@@ -88,30 +88,35 @@ you can directly use `cog`. | |
on: | ||
workflow_dispatch: | ||
branches: main | ||
jobs: | ||
release: | ||
name: Perform release | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Cocogitto release | ||
id: release | ||
uses: oknozor/cocogitto-action@v3 | ||
with: | ||
release: true | ||
git-user: 'Cog Bot' | ||
git-user-email: '[email protected]' | ||
- name: Generate Changelog | ||
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md | ||
- name: Upload github release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body_path: GITHUB_CHANGELOG.md | ||
tag_name: ${{ steps.release.outputs.version }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Cocogitto release | ||
id: release | ||
uses: oknozor/cocogitto-action@v3 | ||
with: | ||
release: true | ||
git-user: 'Cog Bot' | ||
git-user-email: '[email protected]' | ||
- name: Generate Changelog | ||
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md | ||
- name: Upload github release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body_path: GITHUB_CHANGELOG.md | ||
tag_name: ${{ steps.release.outputs.version }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
``` | ||
|
||
Also see: | ||
|