Skip to content

Commit

Permalink
Merge pull request #192 from microbiomedata/issue-182-build-number
Browse files Browse the repository at this point in the history
Run ionic build after trapeze in release script
  • Loading branch information
pkalita-lbl authored Oct 2, 2024
2 parents d862c82 + 608d15f commit 6f43e5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,16 @@ else
log "New version number: $VERSION_NUMBER"
fi

# Run trapeze to propagate the new version and build number to native projects
# Run trapeze to propagate the new version and build number to native project files
log "Updating native projects"
export FIELD_NOTES_VERSION_NUMBER=$VERSION_NUMBER
export FIELD_NOTES_BUILD_NUMBER=$NEW_BUILD_NUMBER
trapeze run trapeze.config.yaml -y

# Rebuild the native projects with the new version and build number
log "Rebuilding native projects"
npm run build.native

# Commit the changes to package.json, package-lock.json, and native projects
COMMIT_MESSAGE="$VERSION_NUMBER ($NEW_BUILD_NUMBER)"
log "Creating commit: $COMMIT_MESSAGE"
Expand Down

0 comments on commit 6f43e5c

Please sign in to comment.