Skip to content

Commit

Permalink
Merge pull request #109 from cacheung/2.0.1
Browse files Browse the repository at this point in the history
Bump up version to 2.0.1
  • Loading branch information
cacheung authored Jul 25, 2023
2 parents 4299593 + 657fc45 commit 781a440
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,15 @@ ci-publish-staging: clean build-release

ci-publish-main: clean build-release
(./code/gradlew -p code/${EXTENSION-LIBRARY-FOLDER-NAME} publishReleasePublicationToSonatypeRepository -Prelease)

# usage: update-version VERSION=9.9.9 CORE-VERSION=8.8.8
# usage: update-version VERSION=9.9.9
update-version:
@echo "Updating version to $(VERSION), Core version to $(CORE-VERSION)"
sed -i '' "s/[0-9]*\.[0-9]*\.[0-9]/$(VERSION)/g" ./code/edgeidentity/src/main/java/com/adobe/marketing/mobile/edge/identity/IdentityConstants.java
sed -i '' "s/\(moduleVersion=\)[0-9]*\.[0-9]*\.[0-9]/\1$(VERSION)/g" ./code/gradle.properties
@if [ -z "$(CORE-VERSION)" ]; then \
echo "CORE-VERSION was not provided, skipping"; \
else \
sed -i '' "s/\(mavenCoreVersion=\)[0-9]*\.[0-9]*\.[0-9]/\1$(CORE-VERSION)/g" ./code/gradle.properties; \
fi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class IdentityConstants {
static final String LOG_TAG = "EdgeIdentity";
static final String EXTENSION_NAME = "com.adobe.edge.identity";
static final String EXTENSION_FRIENDLY_NAME = "Edge Identity";
static final String EXTENSION_VERSION = "2.0.0";
static final String EXTENSION_VERSION = "2.0.1";

static final class Default {

Expand Down
2 changes: 1 addition & 1 deletion code/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android.disableAutomaticComponentCreation=true
moduleProjectName=edgeidentity
moduleName=edgeidentity
moduleAARName=edgeidentity-phone-release.aar
moduleVersion=2.0.0
moduleVersion=2.0.1

mavenRepoName=AdobeMobileEdgeIdentitySdk
mavenRepoDescription=Adobe Experience Platform Edge Identity extension for the Adobe Experience Platform Mobile SDK
Expand Down

0 comments on commit 781a440

Please sign in to comment.