Skip to content

Commit 74d7348

Browse files
committed
try to get current tag
1 parent 5aa53e5 commit 74d7348

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jitpack.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ jdk:
33
before_install:
44
- sdk install java 17.0.9-open
55
- sdk use java 17.0.9-open
6-
- curl -L -o jniLibs.zip https://github.com/OpacityLabs/opacity-android/releases/download/$JITPACK_TAG/jniLibs.zip
6+
- export CURRENT_TAG=$(git describe --tags --exact-match 2>/dev/null || echo "no-tag")
7+
- echo "Current Tag: $CURRENT_TAG"
8+
- curl -L -o jniLibs.zip https://github.com/OpacityLabs/opacity-android/releases/download/$CURRENT_TAG/jniLibs.zip
79
- unzip jniLibs.zip -d OpacityCore/src/main/jniLibs

0 commit comments

Comments
 (0)