* Disable version bump script for release versions

* Bump to 1.1.0

* Fix iOS

Co-authored-by: Luke Baker <lubaker@microsoft.com>
This commit is contained in:
Lucas Baker 2022-12-06 10:35:53 -08:00 коммит произвёл GitHub
Родитель 64b7d5593d
Коммит 5ebb2eba60
7 изменённых файлов: 13 добавлений и 11 удалений

Просмотреть файл

@ -11,13 +11,13 @@ variables:
- name: PAAD_BETARELEASE_VERSION_CODE
value: 1
- name: PAAD_BETARELEASE_VERSION_NAME
value: 1.0.8
value: 1.1.0
- name: PAAD_RELEASE_PROJECT_NAME
value: $(Project_Name)
- name: PAAD_RELEASE_VERSION_CODE
value: 1
- name: PAAD_RELEASE_VERSION_NAME
value: 1.0.8
value: 1.1.0
name: $(Date:yyyyMMdd)$(Rev:.r)
stages:

Просмотреть файл

@ -11,6 +11,8 @@ steps:
- script: npm version prerelease --preid "$(Build.BuildNumber)" --no-git-tag-version
workingDirectory: .
displayName: "Increment version in package.json"
# For prod releases we should commit the version change to source. For test builds we can increment in the pipeline
condition: and(succeeded(), eq(variables.isMaster, false))
- task: ShellScript@2
inputs:

Просмотреть файл

@ -11,13 +11,13 @@ variables:
- name: PAAD_BETARELEASE_VERSION_CODE
value: 1
- name: PAAD_BETARELEASE_VERSION_NAME
value: 1.0.8
value: 1.1.0
- name: PAAD_RELEASE_PROJECT_NAME
value: $(Project_Name)
- name: PAAD_RELEASE_VERSION_CODE
value: 1
- name: PAAD_RELEASE_VERSION_NAME
value: 1.0.8
value: 1.1.0
name: $(Date:yyyyMMdd)$(Rev:.r)
stages:

Просмотреть файл

@ -138,7 +138,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 2
versionName "1.0.8"
versionName "1.1.0"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
missingDimensionStrategy 'react-native-camera', 'general'

Просмотреть файл

@ -508,7 +508,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.8;
MARKETING_VERSION = 1.1.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@ -541,7 +541,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.8;
MARKETING_VERSION = 1.1.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@ -638,7 +638,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.8;
MARKETING_VERSION = 1.1.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",

4
package-lock.json сгенерированный
Просмотреть файл

@ -1,12 +1,12 @@
{
"name": "iotc-paad",
"version": "1.0.8",
"version": "1.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "iotc-paad",
"version": "1.0.6",
"version": "1.1.0",
"hasInstallScript": true,
"dependencies": {
"@react-native-community/geolocation": "^2.0.2",

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "iotc-paad",
"version": "1.0.7",
"version": "1.1.0",
"private": true,
"scripts": {
"android": "react-native run-android",