Skip to content

Commit 7bab388

Browse files
committed
update release pipeline to build release versions
1 parent 883a67a commit 7bab388

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
with:
2727
distribution: 'corretto'
2828
java-version: '17'
29-
- run: ./gradlew createDistributable packageDistributionForCurrentOS
30-
- run: pushd ./build/compose/binaries/main/app && ls -al && tar -cvzf "app.tar.gz" "Hello HTTP" && mv "app.tar.gz" "../../../../../HelloHTTP-${{ github.ref_name }}-linux-${{ runner.arch }}.tar.gz" && popd
29+
- run: ./gradlew createReleaseDistributable packageReleaseDistributionForCurrentOS
30+
- run: pushd ./build/compose/binaries/main-release/app && ls -al && tar -cvzf "app.tar.gz" "Hello HTTP" && mv "app.tar.gz" "../../../../../HelloHTTP-${{ github.ref_name }}-linux-${{ runner.arch }}.tar.gz" && popd
3131
- uses: softprops/action-gh-release@v1
3232
with:
3333
files: "HelloHTTP-${{ github.ref_name }}-linux-${{ runner.arch }}.tar.gz"
@@ -40,8 +40,8 @@ jobs:
4040
with:
4141
distribution: 'corretto'
4242
java-version: '17'
43-
- run: ./gradlew createDistributable packageDistributionForCurrentOS
44-
- run: pushd ./build/compose/binaries/main/app && dir && tar -acf "app.zip" "Hello HTTP" && move "app.zip" "../../../../../HelloHTTP-${{ github.ref_name }}-windows-${{ runner.arch }}.zip" && popd
43+
- run: ./gradlew createReleaseDistributable packageReleaseDistributionForCurrentOS
44+
- run: pushd ./build/compose/binaries/main-release/app && dir && tar -acf "app.zip" "Hello HTTP" && move "app.zip" "../../../../../HelloHTTP-${{ github.ref_name }}-windows-${{ runner.arch }}.zip" && popd
4545
- uses: softprops/action-gh-release@v1
4646
with:
4747
files: "HelloHTTP-${{ github.ref_name }}-windows-${{ runner.arch }}.zip"
@@ -58,8 +58,8 @@ jobs:
5858
with:
5959
distribution: 'corretto'
6060
java-version: '17'
61-
- run: ./gradlew createDistributable packageDistributionForCurrentOS
62-
- run: mv ./build/compose/binaries/main/dmg/*.dmg "./HelloHTTP-${{ github.ref_name }}-macos-${{ runner.arch }}.dmg"
61+
- run: ./gradlew createReleaseDistributable packageReleaseDistributionForCurrentOS
62+
- run: mv ./build/compose/binaries/main-release/dmg/*.dmg "./HelloHTTP-${{ github.ref_name }}-macos-${{ runner.arch }}.dmg"
6363
- uses: softprops/action-gh-release@v1
6464
with:
6565
files: "./HelloHTTP-${{ github.ref_name }}-macos-${{ runner.arch }}.dmg"

0 commit comments

Comments
 (0)