Skip to content

Commit

Permalink
Publish WiredClientDebug-2.5-42.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
nark committed Apr 14, 2020
1 parent 7a47ce4 commit 4e508e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions WiredClient.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "#sh \"$SRCROOT/../wired_client_distribute_debug.sh\" >> \"$BUILT_PRODUCTS_DIR/wired_client_distribute_debug.log\"\n\nAPP_NAME=\"Wired Client\"\nDEBUG=\"Debug\"\nARCHIVE_BASE_NAME=\"WiredClient$DEBUG\"\nGITHUB_OWNER=\"nark\"\nGITHUB_REPO=\"WiredClient\"\n\n\n# get verions\nMARKETING_VERSION=$(xcrun agvtool mvers -terse1)\nCURRENT_PROJECT_VERSION=$(xcrun agvtool vers -terse)\nTAG=\"$MARKETING_VERSION-$CURRENT_PROJECT_VERSION\"\n\n# prepare data for signing and archiving\nSIGN_TOOLS=\"$SRCROOT/../Sparkle-2.x/bin/\"\nPRIV_KEY=\"$SRCROOT/../dsa_priv.pem\"\nDATE=$(date +\"%a, %d %b %G %T\")\nARCHIVE_NAME=\"$ARCHIVE_BASE_NAME-$TAG.zip\"\nARCHIVE_PATH=\"$BUILT_PRODUCTS_DIR/$ARCHIVE_NAME\"\n# RELEASE_NOTE=\"$SRCROOT/wiredclientrnote.html\"\n\n # archive as zip with ditto\ncd \"$BUILT_PRODUCTS_DIR\"\nditto -c -k --sequesterRsrc --keepParent \"$APP_NAME.app\" \"$ARCHIVE_NAME\"\n\n# sign update for Sparkle\nLENGTH=$(stat -f %z $ARCHIVE_PATH)\n\n# sign update for Sparkle\nED_SIGN=$($SIGN_TOOLS/sign_update $ARCHIVE_PATH $PRIV_KEY)\necho $ED_SIGN > \"$BUILT_PRODUCTS_DIR/sign.txt\" # keep track of signature for manual check\n\n# auto-tag git/github\ncd \"$SRCROOT\"\n/usr/bin/git add --all\n/usr/bin/git commit -m \"Publish $ARCHIVE_NAME\"\n/usr/bin/git tag -a $TAG -m \"$ARCHIVE_BASE_NAME-$TAG\"\n/usr/bin/git push --follow-tags\n\n# update to GitHub release\n$SRCROOT/../release $GITHUB_OWNER/$GITHUB_REPO $TAG $DEBUG $TAG -- $ARCHIVE_PATH\n";
shellScript = "#sh \"$SRCROOT/../wired_client_distribute_debug.sh\" >> \"$BUILT_PRODUCTS_DIR/wired_client_distribute_debug.log\"\n\nAPP_NAME=\"Wired Client\"\nDEBUG=\"Debug\"\nARCHIVE_BASE_NAME=\"WiredClient$DEBUG\"\nGITHUB_OWNER=\"nark\"\nGITHUB_REPO=\"WiredClient\"\nGITHUB_TOKEN=\"1778feed013536fac983528b0164f9c199349cf8\"\n\n# get verions\nMARKETING_VERSION=$(xcrun agvtool mvers -terse1)\nCURRENT_PROJECT_VERSION=$(xcrun agvtool vers -terse)\nTAG=\"$MARKETING_VERSION-$CURRENT_PROJECT_VERSION\"\n\n# prepare data for signing and archiving\nSIGN_TOOLS=\"$SRCROOT/../Sparkle-2.x/bin/\"\nPRIV_KEY=\"$SRCROOT/../dsa_priv.pem\"\nDATE=$(date +\"%a, %d %b %G %T\")\nARCHIVE_NAME=\"$ARCHIVE_BASE_NAME-$TAG.zip\"\nARCHIVE_PATH=\"$BUILT_PRODUCTS_DIR/$ARCHIVE_NAME\"\n# RELEASE_NOTE=\"$SRCROOT/wiredclientrnote.html\"\n\n # archive as zip with ditto\ncd \"$BUILT_PRODUCTS_DIR\"\nditto -c -k --sequesterRsrc --keepParent \"$APP_NAME.app\" \"$ARCHIVE_NAME\"\n\n# sign update for Sparkle\nLENGTH=$(stat -f %z $ARCHIVE_PATH)\n\n# sign update for Sparkle\nED_SIGN=$($SIGN_TOOLS/sign_update $ARCHIVE_PATH $PRIV_KEY)\necho $ED_SIGN > \"$BUILT_PRODUCTS_DIR/sign.txt\" # keep track of signature for manual check\n\n# auto-tag git/github\ncd \"$SRCROOT\"\n/usr/bin/git add --all\n/usr/bin/git commit -m \"Publish $ARCHIVE_NAME\"\n/usr/bin/git tag -a $TAG -m \"$ARCHIVE_BASE_NAME-$TAG\"\n/usr/bin/git push --follow-tags\n\n# update to GitHub release\n$SRCROOT/../release $GITHUB_OWNER/$GITHUB_REPO $TAG $DEBUG $TAG -- $ARCHIVE_PATH\n\nGITHUB_SCRIPT=\"$SRCROOT/../upload-github-release-asset.sh\"\n$GITHUB_SCRIPT github_api_token=$GITHUB_TOKEN owner=$GITHUB_OWNER repo=$GITHUB_REPO tag=$TAG filename=$ARCHIVE_PATH\n";
};
4C5BB6942445E6A20089D6D2 /* Run Bump Version */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -2359,7 +2359,7 @@
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 41;
CURRENT_PROJECT_VERSION = 42;
DEVELOPMENT_TEAM = 7KTXA5Y36K;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -2611,7 +2611,7 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 41;
CURRENT_PROJECT_VERSION = 42;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -2711,7 +2711,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "-";
CURRENT_PROJECT_VERSION = 41;
CURRENT_PROJECT_VERSION = 42;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Pods/Sparkle",
Expand Down

0 comments on commit 4e508e4

Please sign in to comment.