Skip to content

Commit

Permalink
build: Release 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Jun 21, 2022
1 parent a9b94c2 commit d9dbf3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fi
- name: Publish Release
if: ${{ runner.os == 'Linux' && env.STATUS == 'release' && github.event_name == 'push' && github.ref == 'refs/heads/main'}}
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
run: ./gradlew publishToSonatype closeSonatypeStagingRepository
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import java.net.URI

plugins {
java
`java-library`
`maven-publish`
signing

Expand All @@ -16,7 +17,7 @@ java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}

version = "1.1-SNAPSHOT"
version = "1.1"
group = "com.intellectualsites.informative-annotations"

repositories {
Expand Down Expand Up @@ -69,6 +70,7 @@ signing {
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
pom {
name.set(project.name + " " + project.version)
description.set("An informative annotation library.")
Expand Down

0 comments on commit d9dbf3b

Please sign in to comment.