diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40e0194..df5c857 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,9 +84,7 @@ jobs: path: artifacts - name: Place all tarballs in the same directory - run: | - mkdir bundle - mv artifacts/*/* bundle + run: ls - name: Upload the bundle as an artifact uses: actions/upload-artifact@v3 diff --git a/build/ci_bundle.sh b/build/ci_bundle.sh new file mode 100644 index 0000000..a46e484 --- /dev/null +++ b/build/ci_bundle.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +# Available platforms: +# - windows-2019 +# - windows-2022 +# - macos-11 +# - macos-12 +# - macos-13 +# - ubuntu-20.04 +# - ubuntu-22.04 + +version=$(<./build/version.txt) + +mkdir bundle + +# mv artifacts/*/rolens-macos-11.zip bundle/ +# mv artifacts/*/rolens-macos-11.zip bundle/ + +ls +echo "$version" diff --git a/build/darwin/ci_generate.sh b/build/darwin/ci_generate.sh index 945cda3..40a8380 100755 --- a/build/darwin/ci_generate.sh +++ b/build/darwin/ci_generate.sh @@ -1,3 +1,5 @@ +#!/bin/sh + mkdir releases mkdir emptydir diff --git a/build/linux/ci_generate.sh b/build/linux/ci_generate.sh index 5abb7c2..355e872 100755 --- a/build/linux/ci_generate.sh +++ b/build/linux/ci_generate.sh @@ -1,3 +1,5 @@ +#!/bin/sh + mkdir releases wails build -platform linux/amd64 tar -czvf releases/rolens-$1-amd64.tar.gz --directory build/bin Rolens