mirror of
https://github.com/KrishKrosh/TrackWeight.git
synced 2026-06-18 07:24:30 +00:00
* Initial plan * Add comprehensive DMG build and signing pipeline with attribution Co-authored-by: Rohithzr <1592554+Rohithzr@users.noreply.github.com> * Update pipeline to build on current working branch for testing Co-authored-by: Rohithzr <1592554+Rohithzr@users.noreply.github.com> * Add unsigned DMG build pipeline for testing without certificates Co-authored-by: Rohithzr <1592554+Rohithzr@users.noreply.github.com> * add team id * Fix missing backslash in xcodebuild archive command Co-authored-by: Rohithzr <1592554+Rohithzr@users.noreply.github.com> * Use DEVELOPMENT_TEAM from repository secrets instead of hardcoded value Co-authored-by: Rohithzr <1592554+Rohithzr@users.noreply.github.com> * fix pipeline manually * fix mount perms * fix mount perms in signed build file --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Rohithzr <1592554+Rohithzr@users.noreply.github.com>
Scripts
This directory contains helper scripts for the TrackWeight project.
setup-signing.sh
A helper script to set up code signing certificates for automated DMG builds.
Usage
./scripts/setup-signing.sh
What it does
- Guides you through certificate export: Provides step-by-step instructions to export your Developer ID Application certificate from Keychain Access
- Encodes certificates: Converts your .p12 certificate file to base64 format required for GitHub Secrets
- Generates secret values: Provides the exact values you need to add as GitHub repository secrets
- Optional provisioning profile: Handles provisioning profile encoding if needed
Prerequisites
- macOS (required for Keychain Access and signing tools)
- Valid Apple Developer ID Application certificate
- Access to GitHub repository settings to add secrets
Output
The script will generate the values for these GitHub repository secrets:
BUILD_CERTIFICATE_BASE64: Base64-encoded .p12 certificateP12_PASSWORD: Certificate passwordBUILD_PROVISION_PROFILE_BASE64: Base64-encoded provisioning profile (optional)
Adding Secrets to GitHub
- Go to your GitHub repository
- Navigate to Settings > Secrets and variables > Actions
- Click "New repository secret"
- Add each secret with the name and value provided by the script
Attribution
This script is part of the enhanced TrackWeight fork that adds automated build pipelines.
Original TrackWeight project: https://github.com/KrishKrosh/TrackWeight
Created by: Krish Shah (@KrishKrosh)