Skip to content

Commit c00590e

Browse files
committed
Revert "adjust JReleaser to be reusable"
This reverts commit 2b77ded.
1 parent b85e229 commit c00590e

File tree

2 files changed

+15
-37
lines changed

2 files changed

+15
-37
lines changed

.github/workflows/kmp-run-publish-android.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,6 @@ jobs:
186186
exit 1
187187
fi
188188
189-
- name: Set JReleaser SDK variables
190-
shell: bash
191-
run: |
192-
echo "SDK_NAME=velocityexchangeverifiers" >> $GITHUB_ENV
193-
echo "SDK_DIR=velocityexchangeverifiers" >> $GITHUB_ENV
194-
echo "MAVEN_GROUP_ID=io.velocitycareerlabs" >> $GITHUB_ENV
195-
echo "MAVEN_GROUP_PATH=io/velocitycareerlabs" >> $GITHUB_ENV
196-
197189
- name: 🚀 Run JReleaser full-release
198190
uses: jreleaser/release-action@v2
199191
with:

jreleaser.template.yml

Lines changed: 15 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
1-
# This file is Mustache-templated by JReleaser. Values come from env vars:
2-
# SDK_NAME e.g. velocityexchangeverifiers (artifactId / distribution name)
3-
# SDK_DIR e.g. velocityexchangeverifiers (module directory)
4-
# MAVEN_GROUP_ID e.g. io.velocitycareerlabs (groupId)
5-
# MAVEN_GROUP_PATH e.g. io/velocitycareerlabs (groupId with slashes)
6-
# RELEASE_REPO e.g. VelocityExchangeVerifiers (GitHub repo name for releases)
7-
81
project:
9-
# Drives bundle name: <groupId>-<project.name>-<version>-bundle.zip
10-
name: {{env.SDK_NAME}}
11-
# version comes from JRELEASER_PROJECT_VERSION (set in the workflow)
12-
description: Velocity Career Labs SDK
2+
name: WalletSdkKmp
3+
# version: from JRELEASER_PROJECT_VERSION
4+
description: Velocity Career Labs Android SDK
135
authors:
146
- Michael Avoyan
157
inceptionYear: 2025
168
license: Apache-2.0
179
links:
1810
homepage: https://github.com/velocitycareerlabs
11+
languages:
12+
java:
13+
groupId: io.velocitycareerlabs
14+
artifactId: velocityexchangeverifiers
1915
extraProperties:
2016
displayName: Velocity Career Labs Android SDK
2117

@@ -25,44 +21,34 @@ signing:
2521
mode: MEMORY
2622
# publicKey: from JRELEASER_GPG_PUBLIC_KEY
2723
# secretKey: from JRELEASER_GPG_SECRET_KEY
28-
# passphrase: from JRELEASER_GPG_PASSPHRASE
24+
# passphrase: JRELEASER_GPG_PASSPHRASE
2925

3026
release:
3127
github:
3228
owner: velocitycareerlabs
33-
name: {{env.RELEASE_REPO}}
29+
name: VelocityExchangeVerifiers
3430
# token: from JRELEASER_GITHUB_TOKEN
3531
# tagName: from JRELEASER_TAG_NAME
3632
# releaseName: from JRELEASER_RELEASE_NAME
3733
sign: true
3834
prerelease:
3935
enabled: true
40-
# pattern: JRELEASER_PRERELEASE_PATTERN
41-
42-
# Distribution name matches project.name (SDK_NAME)
43-
distributions:
44-
{{env.SDK_NAME}}:
45-
type: BINARY
46-
artifacts:
47-
# Staged artifacts prepared by Gradle:
48-
# <SDK_DIR>/target/staging-deploy/<groupPath>/<artifactId>/<version>/**
49-
- path: "{{env.SDK_DIR}}/target/staging-deploy/{{env.MAVEN_GROUP_PATH}}/{{env.SDK_NAME}}/**"
36+
# pattern: from JRELEASER_PRERELEASE_PATTERN
5037

5138
deploy:
5239
maven:
5340
mavenCentral:
54-
# Key can be any name; using SDK_NAME for clarity
55-
{{env.SDK_NAME}}:
41+
velocityexchangeverifiers:
5642
active: ALWAYS
5743
url: https://central.sonatype.com/api/v1/publisher
58-
# username: JRELEASER_MAVENCENTRAL_USERNAME
59-
# password: JRELEASER_MAVENCENTRAL_PASSWORD
60-
# stage: JRELEASER_MAVENCENTRAL_STAGE
44+
# username: from JRELEASER_MAVENCENTRAL_USERNAME
45+
# password: from JRELEASER_MAVENCENTRAL_PASSWORD
46+
# stage: from JRELEASER_MAVENCENTRAL_STAGE
6147
authorization: BASIC
6248
sign: true
6349
checksums: true
6450
sourceJar: true
6551
javadocJar: true
6652
verifyPom: false
6753
stagingRepositories:
68-
- "{{env.SDK_DIR}}/target/staging-deploy"
54+
- velocityexchangeverifiers/target/staging-deploy

0 commit comments

Comments
 (0)