Version 1.4.0

Added setting GPG_TTY

Made GPG_TTY global

Added GPG_TTY setup for each platforms
This commit is contained in:
Erik C. Thauvin 2023-09-20 13:49:39 -07:00
parent 938bd54f2b
commit 0235444814
3 changed files with 12 additions and 6 deletions

View file

@ -26,6 +26,8 @@ jobs:
- name: Import key - name: Import key
run: echo "${{ secrets.SIGN_SECRET_KEY }}" | gpg --batch --import run: echo "${{ secrets.SIGN_SECRET_KEY }}" | gpg --batch --import
env:
GPG_TTY: ${{ env.tty }}
- name: Publish Multiplatform release - name: Publish Multiplatform release
run: ./gradlew publishKotlinMultiplatformPublicationToOSSRHRepository run: ./gradlew publishKotlinMultiplatformPublicationToOSSRHRepository
@ -55,6 +57,8 @@ jobs:
- name: Import key - name: Import key
run: echo "${{ secrets.SIGN_SECRET_KEY }}" | gpg --batch --import run: echo "${{ secrets.SIGN_SECRET_KEY }}" | gpg --batch --import
env:
GPG_TTY: ${{ env.tty }}
- name: Publish Linux x64 release - name: Publish Linux x64 release
run: ./gradlew publishLinuxX64PublicationToOSSRHRepository run: ./gradlew publishLinuxX64PublicationToOSSRHRepository
@ -84,6 +88,8 @@ jobs:
- name: Import key - name: Import key
run: echo "${{ secrets.SIGN_SECRET_KEY }}" | gpg --batch --import run: echo "${{ secrets.SIGN_SECRET_KEY }}" | gpg --batch --import
env:
GPG_TTY: ${{ env.tty }}
- name: Publish - name: Publish
run: ./gradlew ${{ matrix.target }} run: ./gradlew ${{ matrix.target }}

View file

@ -2,15 +2,15 @@
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.0-blue)](https://kotlinlang.org/) [![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/) [![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) [![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) [![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) [![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) [![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). 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). 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.
</dependency> </dependency>
``` ```
Instructions for using with Maven, Ivy, etc. can be found on Instructions for using with Ivy, etc. can be found on
[Maven Central](https://search.maven.org/artifact/net.thauvin.erik/urlencoder). [Maven Central](https://search.maven.org/search?q=g:net.thauvin.erik.urlencoder).
## Standalone usage ## Standalone usage

View file

@ -4,7 +4,7 @@ plugins {
} }
group = "net.thauvin.erik.urlencoder" group = "net.thauvin.erik.urlencoder"
version = "1.4.0-SNAPSHOT" version = "1.4.0"
dependencies { dependencies {
kover(projects.urlencoderLib) kover(projects.urlencoderLib)