mirror of
https://github.com/plebbit/seedit.git
synced 2026-04-21 15:48:43 -04:00
Update release.yml
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
- run: node scripts/release-body > release-body.txt
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: 'dist/seedit-linux*.AppImage,dist/seedit-html*.zip'
|
||||
artifacts: 'dist/seedit*.AppImage,dist/seedit-html*.zip'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
replacesArtifacts: true
|
||||
bodyFile: "release-body.txt"
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
- run: node scripts/release-body > release-body.txt
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: 'dist/seedit-mac*.dmg'
|
||||
artifacts: 'dist/seedit*.dmg'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
replacesArtifacts: true
|
||||
bodyFile: "release-body.txt"
|
||||
@@ -97,7 +97,7 @@ jobs:
|
||||
- run: node scripts/release-body > release-body.txt
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: 'dist/seedit-windows*.exe'
|
||||
artifacts: 'dist/seedit*.exe'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
replacesArtifacts: true
|
||||
bodyFile: "release-body.txt"
|
||||
@@ -142,14 +142,14 @@ jobs:
|
||||
# to create keystore: keytool -genkey -v -keystore plebbit.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias release
|
||||
- run: cd android/app/build/outputs/apk/release && apksigner sign --ks ../../../../../plebbit.keystore --ks-pass pass:${{ secrets.PLEBBIT_REACT_KEYSTORE_PASSWORD }} --ks-key-alias release --out app-release-signed.apk app-release-unsigned-zip.apk
|
||||
# move apk to dist folder
|
||||
- run: mkdir -p dist && mv android/app/build/outputs/apk/release/app-release-signed.apk dist/seedit-android-$(node -e "console.log(require('./package.json').version)").apk
|
||||
- run: mkdir -p dist && mv android/app/build/outputs/apk/release/app-release-signed.apk dist/seedit-$(node -e "console.log(require('./package.json').version)").apk
|
||||
- run: ls dist
|
||||
|
||||
# publish version release
|
||||
- run: node scripts/release-body > release-body.txt
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: 'dist/seedit-android*.apk'
|
||||
artifacts: 'dist/seedit*.apk'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
replacesArtifacts: true
|
||||
bodyFile: "release-body.txt"
|
||||
|
||||
Reference in New Issue
Block a user