Skip to content

Commit

Permalink
Test version
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubuid committed Dec 5, 2024
1 parent 2261475 commit de0fbc9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release-kotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
CARGO_TERM_COLOR: always
VERSION: ${{ github.event.inputs.version || '0.2.80' }}
VERSION: ${{ github.event.inputs.version || '0.2.81' }}
TARGET_BRANCH: ${{ github.ref_name }}

permissions:
Expand Down Expand Up @@ -47,6 +47,10 @@ jobs:
api-level: 35
build-tools: 35.0.0
ndk-version: 27.2.12479018

- name: Build with Gradle
run: |
./gradlew clean assembleRelease -Pversion=${{ env.VERSION }}
- name: Install cargo-ndk
run: |
Expand Down Expand Up @@ -107,8 +111,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: 0.2.80 #${{ env.VERSION }}
release_name: 0.2.80 #Yttrium ${{ env.VERSION }}
tag_name: ${{ env.VERSION }}
release_name: Yttrium ${{ env.VERSION }}
draft: false
prerelease: false

Expand Down
3 changes: 2 additions & 1 deletion .jitpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ android:
- platforms;android-33

before_install:
- RELEASE_URL="https://github.com/reown-com/yttrium/releases/download/0.2.80/kotlin-artifacts.zip"
- echo "VERSION=${{ env.VERSION }}"
- RELEASE_URL="https://github.com/reown-com/yttrium/releases/download/${{env.VERSION}}/kotlin-artifacts.zip"
- echo "Fetching binaries and bindings from $RELEASE_URL"
- curl -L -o kotlin-artifacts.zip $RELEASE_URL || echo "Failed to fetch binaries"
- echo "Downloaded zip file:"
Expand Down
4 changes: 1 addition & 3 deletions crates/kotlin-ffi/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,11 @@ java {
publishing {
publications {
release(MavenPublication) {
// Use the AAR file generated by the build
artifact("$buildDir/outputs/aar/${project.name}-release.aar")

// Customize POM details
groupId = 'com.github.reown-com'
artifactId = 'yttrium'
version = '0.2.80'
version = project.hasProperty("version") ? project.getProperty("version") : "0.0.1"

pom {
name.set("Yttrium")
Expand Down

0 comments on commit de0fbc9

Please sign in to comment.