From 0235444814a9f0e34274ba29b142fcf8f75e39bd Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Wed, 20 Sep 2023 13:49:39 -0700 Subject: [PATCH] Version 1.4.0 Added setting GPG_TTY Made GPG_TTY global Added GPG_TTY setup for each platforms --- .github/workflows/publish.yml | 6 ++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 11b5183..4c8f3d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,6 +26,8 @@ jobs: - name: Import key run: echo "${{ secrets.SIGN_SECRET_KEY }}" | gpg --batch --import + env: + GPG_TTY: ${{ env.tty }} - name: Publish Multiplatform release run: ./gradlew publishKotlinMultiplatformPublicationToOSSRHRepository @@ -55,6 +57,8 @@ jobs: - name: Import key run: echo "${{ secrets.SIGN_SECRET_KEY }}" | gpg --batch --import + env: + GPG_TTY: ${{ env.tty }} - name: Publish Linux x64 release run: ./gradlew publishLinuxX64PublicationToOSSRHRepository @@ -84,6 +88,8 @@ jobs: - name: Import key run: echo "${{ secrets.SIGN_SECRET_KEY }}" | gpg --batch --import + env: + GPG_TTY: ${{ env.tty }} - name: Publish run: ./gradlew ${{ matrix.target }} diff --git a/README.md b/README.md index d32bcc0..b4e8031 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,15 @@ [![Kotlin](https://img.shields.io/badge/kotlin-1.9.0-blue)](https://kotlinlang.org/) [![Nexus Snapshot](https://img.shields.io/nexus/s/net.thauvin.erik.urlencoder/urlencoder-lib?label=snapshot&server=https%3A%2F%2Foss.sonatype.org%2F)](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/urlencoder/) [![Release](https://img.shields.io/github/release/ethauvin/urlencoder.svg)](https://github.com/ethauvin/urlencoder/releases/latest) -[![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/urlencoder/badge.svg?color=blue)](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/urlencoder) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.urlencoder/urlencoder-lib/badge.svg?color=blue)](https://search.maven.org/search?q=g:net.thauvin.erik.urlencoder) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ethauvin_urlencoder&metric=alert_status)](https://sonarcloud.io/dashboard?id=ethauvin_urlencoder) [![GitHub CI](https://github.com/ethauvin/urlencoder/actions/workflows/gradle.yml/badge.svg)](https://github.com/ethauvin/urlencoder/actions/workflows/gradle.yml) [![Tests](https://rife2.com/tests-badge/badge/net.thauvin.erik/urlencoder)](https://github.com/ethauvin/urlencoder/actions/workflows/gradle.yml) -# URL Encoder for Kotlin +# URL Encoder for Kotlin Multiplatform -UrlEncoder is a simple defensive Kotlin Multiplatform library to encode/decode URL components. +UrlEncoder is a simple defensive library to encode/decode URL components. This library was adapted from the [RIFE2 Web Application Framework](https://rife2.com). A pure Java version can also be found at [https://github.com/gbevin/urlencoder](https://github.com/gbevin/urlencoder). @@ -77,8 +77,8 @@ to the artifact URL. ``` -Instructions for using with Maven, Ivy, etc. can be found on -[Maven Central](https://search.maven.org/artifact/net.thauvin.erik/urlencoder). +Instructions for using with Ivy, etc. can be found on +[Maven Central](https://search.maven.org/search?q=g:net.thauvin.erik.urlencoder). ## Standalone usage diff --git a/build.gradle.kts b/build.gradle.kts index 3359a72..a109e40 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } group = "net.thauvin.erik.urlencoder" -version = "1.4.0-SNAPSHOT" +version = "1.4.0" dependencies { kover(projects.urlencoderLib)