This repository was archived by the owner on Jul 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff 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
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 :
You canβt perform that action at this time.
0 commit comments