Skip to content

Commit

Permalink
Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Wituz committed Oct 7, 2024
1 parent ca8785f commit 24e1d74
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Set Package Version
id: extract_version
run: echo ::set-output name=PACKAGE_VERSION::$(echo "1.0.0")
- name: Get Package Version
id: package_version
run: echo ::set-output name=PACKAGE_VERSION::$(node -p "require('./package.json').version")

- name: Build for Linux
run: yarn build:linux
Expand All @@ -34,8 +34,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ env.PACKAGE_VERSION }}
release_name: Release v${{ env.PACKAGE_VERSION }}
tag_name: v${{ steps.package_version.outputs.PACKAGE_VERSION }}
release_name: Release v${{ steps.package_version.outputs.PACKAGE_VERSION }}
draft: false
prerelease: false

Expand All @@ -45,8 +45,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/davinci-resolve-converter-${{ env.PACKAGE_VERSION }}.AppImage
asset_name: davinci-resolve-converter-${{ env.PACKAGE_VERSION }}.AppImage
asset_path: ./dist/davinci-resolve-converter-${{ steps.package_version.outputs.PACKAGE_VERSION }}.AppImage
asset_name: davinci-resolve-converter-${{ steps.package_version.outputs.PACKAGE_VERSION }}.AppImage
asset_content_type: application/x-appimage

- name: Upload Release Asset (.deb)
Expand All @@ -55,6 +55,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/davinci-resolve-converter-${{ env.PACKAGE_VERSION }}.deb
asset_name: davinci-resolve-converter-${{ env.PACKAGE_VERSION }}.deb
asset_path: ./dist/davinci-resolve-converter-${{ steps.package_version.outputs.PACKAGE_VERSION }}.deb
asset_name: davinci-resolve-converter-${{ steps.package_version.outputs.PACKAGE_VERSION }}.deb
asset_content_type: application/x-deb

0 comments on commit 24e1d74

Please sign in to comment.