Skip to content

Commit

Permalink
build: release 4.0.1 (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP authored Jul 18, 2024
1 parent 31b7edc commit e920635
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

# 4.0.1

- Feat: release of `compose-sdk`

# 4.0.0

- Feat (breaking change): accept `HCaptcha.getClient(Activity)` for passive sitekeys. (#112)
Expand Down
5 changes: 3 additions & 2 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ To publish a new version follow the next steps:
1. Bump versions in the [`sdk/build.gradle`](./sdk/build.gradle) file:
* `android.defaultConfig.versionCode`: increment by **1** (next integer)
* `android.defaultConfig.versionName`: [Semantic Versioning](https://semver.org)
2. Update [`CHANGES.md`](./CHANGES.md) with changes since last version
3. Create a [Github Release](https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/managing-releases-in-a-repository#creating-a-release) with the **SAME** version from step 1 (**without** a prefix such as `v`)
2. Use the same `versionCode` and `versionName` for [`compose-sdk/build.gradle`](./compose-sdk/build.gradle)
3. Update [`CHANGES.md`](./CHANGES.md) with changes since last version
4. Create a [Github Release](https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/managing-releases-in-a-repository#creating-a-release) with the **SAME** version from step 1 (**without** a prefix such as `v`)
* JitPack's automatic process will be triggered upon first installation of the new package version

# Known issues
Expand Down
4 changes: 2 additions & 2 deletions compose-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ android {
// See https://developer.android.com/studio/publish/versioning
// versionCode must be integer and be incremented by one for every new update
// android system uses this to prevent downgrades
versionCode 1
versionCode 40

// version number visible to the user
// should follow semantic versioning (See https://semver.org)
versionName "0.1.0"
versionName "4.0.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down
4 changes: 2 additions & 2 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ android {
// See https://developer.android.com/studio/publish/versioning
// versionCode must be integer and be incremented by one for every new update
// android system uses this to prevent downgrades
versionCode 39
versionCode 40

// version number visible to the user
// should follow semantic versioning (See https://semver.org)
versionName "4.0.0"
versionName "4.0.1"

buildConfigField 'String', 'VERSION_NAME', "\"${defaultConfig.versionName}_${defaultConfig.versionCode}\""

Expand Down

0 comments on commit e920635

Please sign in to comment.