Skip to content

Commit

Permalink
Merge pull request #65 from jackschedel/working-branch
Browse files Browse the repository at this point in the history
Working branch - deploy workflows + 2.0.1 versioning
  • Loading branch information
jackschedel authored Aug 12, 2023
2 parents 85872fd + d2d7f08 commit f8ab4b2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 33 deletions.
49 changes: 17 additions & 32 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,53 +93,32 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release-Linux/koala-client-2.0.0-linux-x86_64.AppImage
asset_name: koala-client-2.0.0-${{ steps.committag.outputs.substring }}-linux-x86_64.AppImage
asset_path: ./release-Linux/koala-client-2.0.1-linux-x86_64.AppImage
asset_name: KoalaClient-2.0.1-${{ steps.committag.outputs.substring }}-linux-x86_64.AppImage
asset_content_type: application

- name: Upload Release Asset - Ubuntu
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release-Linux/latest-linux.yml
asset_name: linux-hashinfo.yml
asset_content_type: text

- name: Upload Release Asset - MacOS
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release-macOS/koala-client-2.0.0-mac-x64.dmg
asset_name: release-macOS/koala-client-2.0.0-${{ steps.committag.outputs.substring }}-mac-x64.dmg
asset_path: ./release-macOS/koala-client-2.0.1-mac-x64.dmg
asset_name: KoalaClient-2.0.1-${{ steps.committag.outputs.substring }}-mac-x64.dmg
asset_content_type: application

- name: Upload Release Asset - MacOS
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release-macOS/latest-mac.yml
asset_name: mac-hashinfo.yml
asset_content_type: text

- name: Upload Release Asset - Windows
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release-Windows/koala-client-2.0.0-win-x64.exe
asset_name: release-Windows/koala-client-2.0.0-${{ steps.committag.outputs.substring }}-win-x64.exe
asset_path: ./release-Windows/koala-client-2.0.1-win-x64.exe
asset_name: KoalaClient-2.0.1-${{ steps.committag.outputs.substring }}-win-x64.exe
asset_content_type: application

- name: Zip Unpacked Release - Windows
run: |
# Zip the folder
cd ./release-Windows
7z a win-unpacked.zip win-unpacked/
cd ..
Expand All @@ -151,15 +130,21 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release-Windows/win-unpacked.zip
asset_name: KoalaClient-2.0.0-${{ steps.committag.outputs.substring }}-win-unpacked-x64.zip
asset_name: KoalaClient-2.0.1-${{ steps.committag.outputs.substring }}-win-unpacked-x64.zip
asset_content_type: zip

- name: Upload Release Asset - Windows
- name: Zip Hash Info
run: |
7z a hash-info.zip ./release-Linux/latest-linux.yml ./release-macOS/latest-mac.yml
cp ./release-Windows/latest.yml ./release-Windows/latest-windows.yml
7z a hash-info.zip ./release-Windows/latest-windows.yml
- name: Upload Hash Info
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release-Windows/latest.yml
asset_name: windows-hashinfo.yml
asset_content_type: text
asset_path: ./hash-info.zip
asset_name: hash-info.zip
asset_content_type: zip
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koala-client",
"private": true,
"version": "2.0.0",
"version": "2.0.1",
"type": "module",
"homepage": "./",
"main": "electron/index.cjs",
Expand Down

0 comments on commit f8ab4b2

Please sign in to comment.