diff --git a/packages/app-mobile/android/app/build.gradle b/packages/app-mobile/android/app/build.gradle index 85283ce31..2d74e3d5e 100644 --- a/packages/app-mobile/android/app/build.gradle +++ b/packages/app-mobile/android/app/build.gradle @@ -141,8 +141,8 @@ android { applicationId "net.cozic.joplin" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 2097631 - versionName "2.0.0" + versionCode 2097632 + versionName "2.0.1" ndk { abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64" } diff --git a/packages/tools/release-android.ts b/packages/tools/release-android.ts index 09bbb3130..b73d95ca4 100644 --- a/packages/tools/release-android.ts +++ b/packages/tools/release-android.ts @@ -1,5 +1,5 @@ import * as fs from 'fs-extra'; -import { execCommandVerbose, execCommandWithPipes, githubRelease, githubOauthToken, fileExists, completeReleaseWithChangelog } from './tool-utils'; +import { execCommandVerbose, execCommandWithPipes, githubRelease, githubOauthToken, fileExists, gitPullTry, completeReleaseWithChangelog } from './tool-utils'; const path = require('path'); const fetch = require('node-fetch'); const uriTemplate = require('uri-template'); @@ -147,6 +147,8 @@ async function main() { if (!['release', 'prerelease'].includes(argv.type)) throw new Error('Must specify release type. Either --type=release or --type=prerelease'); + await gitPullTry(false); + const isPreRelease = argv.type === 'prerelease'; if (isPreRelease) console.info('Creating pre-release');