Skip to content

Commit

Permalink
ci: second final try
Browse files Browse the repository at this point in the history
Signed-off-by: shinjith-dev <[email protected]>
  • Loading branch information
shinjith-dev committed Jun 30, 2024
1 parent 438389c commit 7ca9c10
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md → .github/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## [unreleased]
## [0.1.0] - 2024-06-30

### 🚀 Features

Expand Down Expand Up @@ -98,6 +98,7 @@ All notable changes to this project will be documented in this file.
- Try 3
- Try 3
- Try 4
- Final try

### Hotfix

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/tauri-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,21 @@ jobs:
- name: change directory
run: cd apps/native

- name: create release note
run: |
{
echo 'RELEASE_NOTES<<EOF'
npx git-cliff --bump --unreleased
echo EOF
} >> "$GITHUB_ENV"
- name: Read release notes
uses: guibranco/github-file-reader-action-v2@latest
with:
path: ".github/RELEASE_NOTES.md"

- name: File contents
run: echo "${ steps.read_file.outputs.contents }"

- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
releaseName: 'Pomtick v__VERSION__'
releaseBody: ${{ env.RELEASE_NOTES }}
releaseBody: ${{ steps.read_file.outputs.contents }}
releaseDraft: false
prerelease: false # Commented to use semantic-release
args: ${{ matrix.args }}
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@
"lint": "turbo lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"prepare": "husky",
"release": "standard-version",
"release:minor": "standard-version --release-as minor",
"release:patch": "standard-version --release-as patch",
"release:major": "standard-version --release-as major"
"release": "git-cliff --bump --unreleased -o .github/RELEASE_NOTES.md",
"changelog":"git-cliff -o .github/RELEASE_NOTES.md"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
Expand Down

0 comments on commit 7ca9c10

Please sign in to comment.