diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea16987..3378a70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,10 +29,16 @@ jobs: native-image-job-reports: 'true' cache: 'sbt' - run: | + wget https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-amd64_linux.tar.xz + tar -xvf upx-4.2.2-amd64_linux.tar.xz + chmod +x upx-4.2.2-amd64_linux/upx + sudo cp upx-4.2.2-amd64_linux/upx /usr/local/bin/ sbt stage astGenDlTask assembly createDistribution sha512sum target/atom.zip > target/atom.zip.sha512 bash ci/native-image.sh cp target/graalvm-native-image/atom target/graalvm-native-image/atom-amd64 + /usr/local/bin/upx -9 --lzma target/graalvm-native-image/atom-amd64 + target/graalvm-native-image/atom-amd64 --help sha512sum target/graalvm-native-image/atom-amd64 > target/graalvm-native-image/atom-amd64.sha512 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/build.sbt b/build.sbt index 31a7a75..88eeed9 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,6 @@ name := "atom" ThisBuild / organization := "io.appthreat" -ThisBuild / version := "2.0.3" +ThisBuild / version := "2.0.4" ThisBuild / scalaVersion := "3.3.1" val chenVersion = "2.0.2" diff --git a/codemeta.json b/codemeta.json index e05660a..86f6a8c 100644 --- a/codemeta.json +++ b/codemeta.json @@ -7,7 +7,7 @@ "downloadUrl": "https://github.com/AppThreat/atom", "issueTracker": "https://github.com/AppThreat/atom/issues", "name": "atom", - "version": "2.0.3", + "version": "2.0.4", "description": "Atom is a novel intermediate representation for next-generation code analysis.", "applicationCategory": "code-analysis", "keywords": [ diff --git a/wrapper/nodejs/package-lock.json b/wrapper/nodejs/package-lock.json index b3801ae..2ffebaa 100644 --- a/wrapper/nodejs/package-lock.json +++ b/wrapper/nodejs/package-lock.json @@ -1,12 +1,12 @@ { "name": "@appthreat/atom", - "version": "2.0.3", + "version": "2.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@appthreat/atom", - "version": "2.0.3", + "version": "2.0.4", "license": "Apache-2.0", "dependencies": { "@babel/parser": "^7.23.6", diff --git a/wrapper/nodejs/package.json b/wrapper/nodejs/package.json index 890d134..d014a4a 100644 --- a/wrapper/nodejs/package.json +++ b/wrapper/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@appthreat/atom", - "version": "2.0.3", + "version": "2.0.4", "description": "Create atom (⚛) representation for your application, packages and libraries", "exports": "./index.js", "type": "module",