Skip to content

Commit

Permalink
use snapshot for release drafter. (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
portlek authored Jun 8, 2024
1 parent 88d712c commit 6c8d832
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/changelog.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
gpg_private_key: "${{ secrets.GPG_PRIVATE_KEY }}"
passphrase: "${{ secrets.GPG_PASSPHRASE }}"

- uses: release-drafter/release-drafter@master
id: release
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- run: |
[[ "${{ steps.release.outputs.tag_name }}" =~ ^[0-9]+(\.[0-9]+)*$ ]] || exit -1
chmod +x gradlew
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/tr.com.infumia/pubsub?label=maven-central&server=https%3A%2F%2Foss.sonatype.org%2F)
![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/tr.com.infumia/pubsub?label=maven-central&server=https%3A%2F%2Foss.sonatype.org)
## How to Use (Developers)
### Code
### Gradle
```groovy
repositories {
maven("https://jitpack.io/")
Expand Down Expand Up @@ -33,6 +33,7 @@ dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-serialization-protobuf:1.7.0"
}
```
### Code
```java
void pubsub() {}
```

0 comments on commit 6c8d832

Please sign in to comment.