Skip to content

Commit

Permalink
uncomment release steps
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger committed Feb 10, 2024
1 parent 86903ec commit c4683c5
Showing 1 changed file with 42 additions and 41 deletions.
83 changes: 42 additions & 41 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,52 +30,53 @@ jobs:
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: bundle-**
path: tmp

- run: ls -al
# TODO: Remove debug logs
- run: cd tmp
- run: ls -al

# - uses: pnpm/action-setup@v2
# with:
# version: 8
- uses: pnpm/action-setup@v2
with:
version: 8

# - uses: actions/setup-node@v4
# with:
# node-version: 20
# cache: pnpm
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

# - run: pnpm i
- run: pnpm i

# - uses: glzr-io/actions/semantic-release@main
# with:
# gh-publish: true
# gh-token: ${{ secrets.GITHUB_TOKEN }}
# gh-draft-release: false
# gh-assets: |
# [
# {
# "path": "tmp/bundle-x86_64-pc-windows-msvc/tauri.msi",
# "name": "Zebar_x64_${nextRelease.gitTag}.msi"
# },
# {
# "path": "tmp/bundle-i686-pc-windows-msvc/tauri.msi",
# "name": "Zebar_x86_${nextRelease.gitTag}.msi"
# },
# {
# "path": "tmp/bundle-universal-apple-darwin/tauri.dmg",
# "name": "Zebar_${nextRelease.gitTag}.dmg"
# },
# {
# "path": "tmp/bundle-x86_64-unknown-linux-gnu/tauri.deb",
# "name": "Zebar_x64_${nextRelease.gitTag}.deb"
# },
# {
# "path": "tmp/bundle-x86_64-unknown-linux-gnu/tauri.AppImage",
# "name": "Zebar_x64_${nextRelease.gitTag}.AppImage"
# }
# ]
# npm-publish: true
# npm-token: ${{ secrets.NPM_TOKEN }}
# npm-package-root: packages/client-api
# npm-package-manager: pnpm
- uses: glzr-io/actions/semantic-release@main
with:
gh-publish: true
gh-token: ${{ secrets.GITHUB_TOKEN }}
gh-draft-release: false
gh-assets: |
[
{
"path": "tmp/bundle-x86_64-pc-windows-msvc/tauri.msi",
"name": "Zebar_x64_${nextRelease.gitTag}.msi"
},
{
"path": "tmp/bundle-i686-pc-windows-msvc/tauri.msi",
"name": "Zebar_x86_${nextRelease.gitTag}.msi"
},
{
"path": "tmp/bundle-universal-apple-darwin/tauri.dmg",
"name": "Zebar_${nextRelease.gitTag}.dmg"
},
{
"path": "tmp/bundle-x86_64-unknown-linux-gnu/tauri.deb",
"name": "Zebar_x64_${nextRelease.gitTag}.deb"
},
{
"path": "tmp/bundle-x86_64-unknown-linux-gnu/tauri.AppImage",
"name": "Zebar_x64_${nextRelease.gitTag}.AppImage"
}
]
npm-publish: true
npm-token: ${{ secrets.NPM_TOKEN }}
npm-package-root: packages/client-api
npm-package-manager: pnpm

0 comments on commit c4683c5

Please sign in to comment.