ok, good chance this will work

This commit is contained in:
ajgeiss0702
2022-08-05 14:20:40 -07:00
parent 33d0d6c9f3
commit 23b8d669e7
+3 -2
View File
@@ -43,5 +43,6 @@ jobs:
env:
POLYMART_TOKEN: ${{ secrets.POLYMART_TOKEN }}
run: |
file free/build/libs/ajQueue-$NEW_VERSION.jar
curl -F "file=@free/build/libs/ajQueue-$NEW_VERSION.jar" -F api_key=$POLYMART_TOKEN -F resource_id="2535" -F version="$NEW_VERSION" -F title="Pre-release v$NEW_VERSION" -F beta=1 -F message="Note: This is a (most likely) un-tested build. It is not guarenteed to work!\n\n${{ github.event.head_commit.message }}" "https://api.polymart.org/v1/postUpdate"
export $VERSION=`cat build.gradle.kts | grep "version " | awk -F'"' '{print $2}'`
file free/build/libs/ajQueue-$VERSION.jar
curl -F "file=@free/build/libs/ajQueue-$VERSION.jar" -F api_key=$POLYMART_TOKEN -F resource_id="2535" -F version="$VERSION" -F title="Pre-release v$VERSION" -F beta=1 -F message="Note: This is a (most likely) un-tested build. It is not guarenteed to work!\n\n${{ github.event.head_commit.message }}" "https://api.polymart.org/v1/postUpdate"