Skip to content

Commit

Permalink
allow overwriting version
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeastLT committed Jun 2, 2023
1 parent bc9e391 commit 951d0e3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Rust cache
uses: Swatinem/rust-cache@v2
- name: Build aar
run: ./gradlew publishToMavenLocal
run: ./gradlew -Pversion=${GITHUB_REF##*/} publishToMavenLocal
- name: Archive artifacts
run: tar -C ~/.m2/repository/com/github/Stremio -cvzf stremio-core-kotlin.tar.gz .
- name: Upload build artifacts
Expand Down
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import com.google.protobuf.gradle.*
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

group = "com.github.Stremio"
version = "1.0.21"

allprojects {
repositories {
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ org.gradle.jvmargs=-Xmx2048m
android.useAndroidX=true
android.enableJetifier=true
kotlin.code.style=official
kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.mpp.androidSourceSetLayoutVersion=2
version=1.0.21
3 changes: 2 additions & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
install:
- wget https://github.com/Stremio/stremio-core-kotlin/releases/download/$VERSION/stremio-core-kotlin.tar.gz
- mkdir -p ~/.m2/repository/com/github/Stremio
- tar -C ~/.m2/repository/com/github/Stremio -xvzf stremio-core-kotlin.tar.gz
- tar -C ~/.m2/repository/com/github/Stremio -xvzf stremio-core-kotlin.tar.gz
- find ~/.m2/repository/com/github/Stremio -type f

0 comments on commit 951d0e3

Please sign in to comment.