Skip to content

Commit

Permalink
Merge pull request #11 from burnoo/post-release-updates/0.2.1
Browse files Browse the repository at this point in the history
Add post-release updates (`0.2.1`)
  • Loading branch information
burnoo committed Aug 5, 2024
2 parents db218ce + 4dc812b commit c769bfd
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
SONATYPE_DESCRIPTION: Created by $GITHUB_WORKFLOW ($GITHUB_ACTION) for $GITHUB_REPOSITORY

- name: Publish artifacts to Sonatype
id: publish
Expand All @@ -61,7 +60,6 @@ jobs:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_REPOSITORY_ID: ${{ steps.create-nexus-staging.outputs.repository_id }}
SONATYPE_DESCRIPTION: Closed by $GITHUB_WORKFLOW ($GITHUB_ACTION) for $GITHUB_REPOSITORY

- name: Extract version from build.gradle.kts
id: extract_version
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WIP 🚧
`build.gradle.kts`:
```kotlin
dependencies {
implementation("dev.burnoo:compose-remember-setting:0.2.0")
implementation("dev.burnoo:compose-remember-setting:0.2.1")
}
```

Expand Down
2 changes: 1 addition & 1 deletion compose-remember-setting/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins {
}

group = "dev.burnoo"
version = "0.2.1-SNAPSHOT"
version = "0.2.2-SNAPSHOT"

kotlin {
androidTarget {
Expand Down
3 changes: 1 addition & 2 deletions scripts/create-nexus-staging-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ jsonOutput=$(
curl -s --request POST -u "$SONATYPE_USERNAME:$SONATYPE_PASSWORD" \
--url https://s01.oss.sonatype.org/service/local/staging/profiles/"${SONATYPE_STAGING_PROFILE_ID}"/start \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{ "data": {"description" : "'"$SONATYPE_DESCRIPTION"'"} }'
--header 'Content-Type: application/json'
)

stagingRepositoryId=$(echo "$jsonOutput" | jq -r '.data.stagedRepositoryId')
Expand Down
2 changes: 1 addition & 1 deletion scripts/release-nexus-staging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ closingRepository=$(
--url https://s01.oss.sonatype.org/service/local/staging/bulk/close \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{ "data" : {"stagedRepositoryIds":["'"$SONATYPE_REPOSITORY_ID"'"], "description":"'"$SONATYPE_DESCRIPTION"'" } }'
--data '{ "data" : {"stagedRepositoryIds":["'"$SONATYPE_REPOSITORY_ID"'"] } }'
)

if [ ! -z "$closingRepository" ]; then
Expand Down

0 comments on commit c769bfd

Please sign in to comment.