Skip to content

Commit

Permalink
US632063: fix artifact generation in bitrise (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
macalac authored Sep 7, 2021
1 parent 97e91d2 commit fb4bce1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### Unreleased
### [v2.2.0](https://github.com/Worldpay/access-checkout-android/releases/tag/v2.2.0) - 2021-09-07
#### Added
- Ability to enable Pan formatting by calling `enablePanFormatting()` when building `CardValidationConfig`

#### Changed
- All Pans that are entered will be formatted by default. All card brands except for Amex will be formatted as `XXXX-XXXX-XXXX-XXXX`. Amex will be formatted as `XXXX-XXXXXX-XXXXX`.
- Sanitise `BaseUrl` configuration value to remove trailing forward slashes, so that `http://localhost/` becomes `http://localhost`

### [v2.1.0](https://github.com/Worldpay/access-checkout-android/releases/tag/v2.1.0) - 2020-03-15
### [v2.1.0](https://github.com/Worldpay/access-checkout-android/releases/tag/v2.1.0) - 2021-03-15
#### Added
- Ability to specify the card brands to support for validation, all other card brands will no longer be valid during card validation

Expand Down
4 changes: 2 additions & 2 deletions access-checkout/gradle/upload.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ artifacts {
}

afterEvaluate {
def filePrefix = "$buildDir/outputs/aar/$archivesBaseName"
def filePrefix = "$buildDir/outputs/aar/access-checkout"
def fileSuffix = "aar"
def originalFile = file("$filePrefix-release.$fileSuffix")
def renamedFile = "$filePrefix-$version.$fileSuffix"
def renamedFile = "$filePrefix-android-$version.$fileSuffix"
tasks.named("assembleRelease").configure {
doLast {
originalFile.renameTo(renamedFile)
Expand Down

0 comments on commit fb4bce1

Please sign in to comment.