forked from jsnbuchanan/crowd-funder-for-time-pwa
chore: Bump to version 1.0.7 build 40.
This commit is contained in:
71
BUILDING.md
71
BUILDING.md
@@ -1017,47 +1017,27 @@ If you need to build manually or want to understand the individual steps:
|
|||||||
export GEM_PATH=$shortened_path
|
export GEM_PATH=$shortened_path
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Build the web assets & update ios:
|
1. Bump the version in package.json, then here.
|
||||||
|
|
||||||
```bash
|
|
||||||
rm -rf dist
|
|
||||||
npm run build:web
|
|
||||||
npm run build:capacitor
|
|
||||||
npx cap sync ios
|
|
||||||
```
|
|
||||||
|
|
||||||
- If that fails with "Could not find..." then look at the "gem_path" instructions above.
|
|
||||||
|
|
||||||
3. Copy the assets:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# It makes no sense why capacitor-assets will not run without these but it actually changes the contents.
|
|
||||||
mkdir -p ios/App/App/Assets.xcassets/AppIcon.appiconset
|
|
||||||
echo '{"images":[]}' > ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json
|
|
||||||
mkdir -p ios/App/App/Assets.xcassets/Splash.imageset
|
|
||||||
echo '{"images":[]}' > ios/App/App/Assets.xcassets/Splash.imageset/Contents.json
|
|
||||||
npx capacitor-assets generate --ios
|
|
||||||
```
|
|
||||||
|
|
||||||
4. Bump the version to match Android & package.json:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
cd ios/App && xcrun agvtool new-version 39 && perl -p -i -e "s/MARKETING_VERSION = .*;/MARKETING_VERSION = 1.0.6;/g" App.xcodeproj/project.pbxproj && cd -
|
cd ios/App && xcrun agvtool new-version 40 && perl -p -i -e "s/MARKETING_VERSION = .*;/MARKETING_VERSION = 1.0.7;/g" App.xcodeproj/project.pbxproj && cd -
|
||||||
# Unfortunately this edits Info.plist directly.
|
# Unfortunately this edits Info.plist directly.
|
||||||
#xcrun agvtool new-marketing-version 0.4.5
|
#xcrun agvtool new-marketing-version 0.4.5
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Open the project in Xcode:
|
2. Build.
|
||||||
|
|
||||||
```bash
|
Here's prod. Also available: test, dev
|
||||||
npx cap open ios
|
|
||||||
```
|
|
||||||
|
|
||||||
6. Use Xcode to build and run on simulator or device.
|
```bash
|
||||||
|
npm run build:ios:prod
|
||||||
|
```
|
||||||
|
|
||||||
|
3.1. Use Xcode to build and run on simulator or device.
|
||||||
|
|
||||||
* Select Product -> Destination with some Simulator version. Then click the run arrow.
|
* Select Product -> Destination with some Simulator version. Then click the run arrow.
|
||||||
|
|
||||||
7. Release
|
3.2. Use Xcode to release.
|
||||||
|
|
||||||
* Someday: Under "General" we want to rename a bunch of things to "Time Safari"
|
* Someday: Under "General" we want to rename a bunch of things to "Time Safari"
|
||||||
* Choose Product -> Destination -> Any iOS Device
|
* Choose Product -> Destination -> Any iOS Device
|
||||||
@@ -1125,35 +1105,28 @@ The recommended way to build for Android is using the automated build script:
|
|||||||
|
|
||||||
#### Manual Build Process
|
#### Manual Build Process
|
||||||
|
|
||||||
1. Build the web assets:
|
1. Bump the version in package.json, then here: android/app/build.gradle
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rm -rf dist
|
perl -p -i -e 's/versionCode .*/versionCode 40/g' android/app/build.gradle
|
||||||
npm run build:web
|
perl -p -i -e 's/versionName .*/versionName "1.0.7"/g' android/app/build.gradle
|
||||||
npm run build:capacitor
|
```
|
||||||
```
|
|
||||||
|
|
||||||
2. Update Android project with latest build:
|
2. Build.
|
||||||
|
|
||||||
```bash
|
Here's prod. Also available: test, dev
|
||||||
npx cap sync android
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Copy the assets
|
```bash
|
||||||
|
npm run build:android:prod
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
3. Open the project in Android Studio:
|
||||||
npx capacitor-assets generate --android
|
|
||||||
```
|
|
||||||
|
|
||||||
4. Bump version to match iOS & package.json: android/app/build.gradle
|
|
||||||
|
|
||||||
5. Open the project in Android Studio:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx cap open android
|
npx cap open android
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Use Android Studio to build and run on emulator or device.
|
4. Use Android Studio to build and run on emulator or device.
|
||||||
|
|
||||||
## Android Build from the console
|
## Android Build from the console
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ 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/),
|
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).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [1.0.3] - 2025.07.12
|
## [1.0.7] - 2025.08.18
|
||||||
### Changed
|
### Changed
|
||||||
- Photo is pinned to profile mode
|
- Photo is pinned to profile mode
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ android {
|
|||||||
applicationId "app.timesafari.app"
|
applicationId "app.timesafari.app"
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 39
|
versionCode 40
|
||||||
versionName "1.0.6"
|
versionName "1.0.7"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
aaptOptions {
|
aaptOptions {
|
||||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||||
|
|||||||
@@ -403,7 +403,7 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 39;
|
CURRENT_PROJECT_VERSION = 40;
|
||||||
DEVELOPMENT_TEAM = GM3FS5JQPH;
|
DEVELOPMENT_TEAM = GM3FS5JQPH;
|
||||||
ENABLE_APP_SANDBOX = NO;
|
ENABLE_APP_SANDBOX = NO;
|
||||||
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
||||||
@@ -413,7 +413,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.6;
|
MARKETING_VERSION = 1.0.7;
|
||||||
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
|
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = app.timesafari;
|
PRODUCT_BUNDLE_IDENTIFIER = app.timesafari;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
@@ -430,7 +430,7 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 39;
|
CURRENT_PROJECT_VERSION = 40;
|
||||||
DEVELOPMENT_TEAM = GM3FS5JQPH;
|
DEVELOPMENT_TEAM = GM3FS5JQPH;
|
||||||
ENABLE_APP_SANDBOX = NO;
|
ENABLE_APP_SANDBOX = NO;
|
||||||
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
||||||
@@ -440,7 +440,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.6;
|
MARKETING_VERSION = 1.0.7;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = app.timesafari;
|
PRODUCT_BUNDLE_IDENTIFIER = app.timesafari;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "timesafari",
|
"name": "timesafari",
|
||||||
"version": "1.0.7-beta",
|
"version": "1.0.7",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "timesafari",
|
"name": "timesafari",
|
||||||
"version": "1.0.7-beta",
|
"version": "1.0.7",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@capacitor-community/electron": "^5.0.1",
|
"@capacitor-community/electron": "^5.0.1",
|
||||||
"@capacitor-community/sqlite": "6.0.2",
|
"@capacitor-community/sqlite": "6.0.2",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "timesafari",
|
"name": "timesafari",
|
||||||
"version": "1.0.7-beta",
|
"version": "1.0.7",
|
||||||
"description": "Time Safari Application",
|
"description": "Time Safari Application",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Time Safari Team"
|
"name": "Time Safari Team"
|
||||||
|
|||||||
Reference in New Issue
Block a user