Skip to content

Commit

Permalink
Merge pull request #10 from husseinala/pre-version-1.0.0
Browse files Browse the repository at this point in the history
Prepare version 1.0.0
  • Loading branch information
Hussein Aladeen authored Jan 12, 2024
2 parents 78e1295 + 698612f commit fef6a95
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ jobs:
pr-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4.0.0
with:
distribution: temurin
java-version: 17
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: publish

on:
push:
tags:
- '**'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
distribution: temurin
java-version: 17

- name: Build and publish artifacts
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.ARTIFACT_SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ARTIFACT_SIGNING_KEY_PASSWORD }}
run: ./gradlew publish

- name: Extract release notes
id: release_notes
uses: ffurrer2/extract-release-notes@v1

- name: Create release
uses: ncipollo/release-action@v1
with:
body: ${{ steps.release_notes.outputs.release_notes }}
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Change Log

## [Unreleased]

## [1.0.0] - 2024-01-11

### Changed
- Build with Kotlin 1.9.20 and compose 1.5.4.
- Removed some APIs deprecated in 0.1.x

[Unreleased]: https://github.com/cashapp/turbine/compare/1.0.0...HEAD
[1.0.0]: https://github.com/husseinala/neon/releases/tag/1.0.0
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/com/husseinala/neon/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ object Deps {
const val TRANSFORMATIONS = "jp.wasabeef:picasso-transformations:2.4.0"
}

const val MAVEN_PUBLISH = "com.vanniktech:gradle-maven-publish-plugin:0.13.0"
const val MAVEN_PUBLISH = "com.vanniktech:gradle-maven-publish-plugin:0.27.0"

const val GLIDE = "com.github.bumptech.glide:glide:4.12.0"
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kotlin.code.style=official

# Maven
GROUP=com.husseinala.neon
VERSION_NAME=0.1.6
VERSION_NAME=1.0.0

POM_DESCRIPTION=Jetpack Compose library that provides Compose support for different image loading libraries.
POM_INCEPTION_YEAR=2020
Expand Down

0 comments on commit fef6a95

Please sign in to comment.