chore: desktop workflow
This commit is contained in:
10
.github/workflows/desktop.release.test.yml
vendored
10
.github/workflows/desktop.release.test.yml
vendored
@@ -17,16 +17,16 @@ jobs:
|
|||||||
- run: mkdir files
|
- run: mkdir files
|
||||||
- run: echo Foo >> files/foo.txt
|
- run: echo Foo >> files/foo.txt
|
||||||
- run: echo Bar >> files/bar.txt
|
- run: echo Bar >> files/bar.txt
|
||||||
- name: 'Get Previous tag'
|
- name: get-npm-version
|
||||||
id: previous_tag
|
id: package-version
|
||||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
uses: martinbeentjes/npm-get-version-action@main
|
||||||
with:
|
with:
|
||||||
fallback: 1.0.0
|
path: packages/desktop
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CI_PAT_TOKEN }}
|
token: ${{ secrets.CI_PAT_TOKEN }}
|
||||||
tag_name: ${{steps.previous_tag.outputs.tag}}
|
tag_name: "@standardnotes/desktop@${{ steps.package-version.outputs.current-version}}"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
draft: true
|
draft: true
|
||||||
files: |
|
files: |
|
||||||
|
|||||||
Reference in New Issue
Block a user