Skip to content

Commit

Permalink
Merge pull request #1619 from Expensify/Rory-ManuallyManageTags
Browse files Browse the repository at this point in the history
Update native versioning code
  • Loading branch information
AndrewGable authored Mar 3, 2021
2 parents 9bd2c22 + 254bec9 commit a72bca7
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 774 deletions.
5 changes: 2 additions & 3 deletions .github/actions/bumpVersion/bumpVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const exec = promisify(require('child_process').exec);
const fs = require('fs');
const core = require('@actions/core');
const github = require('@actions/github');
const {generateAndroidVersionCode, updateAndroidVersion, updateiOSVersion} = require('../../libs/nativeVersionUpdater');
const {updateAndroidVersion, updateiOSVersion} = require('../../libs/nativeVersionUpdater');

/**
* Update the native app versions.
Expand All @@ -14,8 +14,7 @@ function updateNativeVersions(newVersion) {
console.log(`Updating native versions to ${newVersion}`);

// Update Android
const androidVersionCode = generateAndroidVersionCode(newVersion);
updateAndroidVersion(newVersion, androidVersionCode)
updateAndroidVersion(newVersion)
.then(() => {
console.log('Successfully updated Android!');
})
Expand Down
Loading

0 comments on commit a72bca7

Please sign in to comment.