Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.
/ Linux Public archive

Commit 0aab867

Browse files
committed
πŸš€ Nightly fix
1 parent f32c44e commit 0aab867

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

β€Ž.github/workflows/deploy.ymlβ€Ž

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@ jobs:
2525
- name: Install Distributable Modules
2626
run: yarn run dist
2727
- name: Build Packages
28-
run: yarn run build
28+
run: |
29+
jq -c '.version = "${{ steps.info.outputs.version }}.${{ steps.info.outputs.timestamp }}"' ./dist/app/package.json > tmp.$$.json && mv tmp.$$.json ./dist/app/package.json
30+
yarn run build
2931
env:
3032
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3133
- name: Publish
3234
run: |
33-
curl -T ./dist/app/dist/${{ steps.info.outputs.productName }}.deb -udoomlerd:${{ secrets.BT_KEY }} "https://api.bintray.com/content/premid/debian-ubuntu/premid/${{ steps.info.outputs.version }}-${{ steps.info.outputs.timestamp }}/pool/nightly/p/premid_${{ steps.info.outputs.version }}-${{ steps.info.outputs.timestamp }}_amd64.deb;deb_distribution=nightly;deb_component=main;deb_architecture=amd64;publish=1"
34-
curl -T ./dist/app/dist/${{ steps.info.outputs.productName }}.rpm -udoomlerd:${{ secrets.BT_KEY }} "https://api.bintray.com/content/premid/redhat-nightly/premid/${{ steps.info.outputs.version }}-${{ steps.info.outputs.timestamp }}/main/premid-${{ steps.info.outputs.version }}.${{ steps.info.outputs.timestamp }}.x86_64.rpm;publish=1"
35+
curl -T ./dist/app/dist/${{ steps.info.outputs.productName }}.deb -udoomlerd:${{ secrets.BT_KEY }} "https://api.bintray.com/content/premid/debian-ubuntu/premid/${{ steps.info.outputs.version }}.${{ steps.info.outputs.timestamp }}/pool/nightly/p/premid_${{ steps.info.outputs.version }}.${{ steps.info.outputs.timestamp }}_amd64.deb;deb_distribution=nightly;deb_component=main;deb_architecture=amd64;publish=1"
36+
curl -T ./dist/app/dist/${{ steps.info.outputs.productName }}.rpm -udoomlerd:${{ secrets.BT_KEY }} "https://api.bintray.com/content/premid/redhat-nightly/premid/${{ steps.info.outputs.version }}.${{ steps.info.outputs.timestamp }}/main/premid-${{ steps.info.outputs.version }}.${{ steps.info.outputs.timestamp }}.x86_64.rpm;publish=1"
3537
- name: Build AppImage
3638
run: |
3739
jq -c '.productName = "PreMiD Portable"' ./dist/app/package.json > tmp.$$.json && mv tmp.$$.json ./dist/app/package.json
@@ -44,8 +46,8 @@ jobs:
4446
files: |
4547
./dist/app/dist/${{ steps.info.outputs.productName }}.tar.gz
4648
./dist/app/dist/${{ steps.info.outputs.productName }} Portable.AppImage
47-
tag_name: v${{ steps.info.outputs.version }}-${{ steps.info.outputs.timestamp }}
48-
name: Nightly v${{ steps.info.outputs.version }}-${{ steps.info.outputs.timestamp }}
49+
tag_name: v${{ steps.info.outputs.version }}.${{ steps.info.outputs.timestamp }}
50+
name: Nightly v${{ steps.info.outputs.version }}.${{ steps.info.outputs.timestamp }}
4951
draft: false
5052
prerelease: true
5153
env:

0 commit comments

Comments
Β (0)