Skip to content

Commit

Permalink
renaming to hc-stress-test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Oct 10, 2023
1 parent 1e1ae16 commit c95b91d
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 55 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release-codesigned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:

with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "replace-me v__VERSION__"
releaseName: "hc-stress-test v__VERSION__"
releaseBody: "See assets below to download and install this version."
releaseDraft: true
prerelease: true
Expand All @@ -129,25 +129,25 @@ jobs:
# !! NOTE: The version field needs to be updated manually here with each new version of your app, otherwise the Windows build will fail.
# sign the .msi file
AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi"
AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi"
# sign the .exe file
AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.exe"
AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.exe"
# # Uncomment the lines below if you have the updater enabled
# # =========================================================
# # remove the .msi.zip and .msi.zip.sig files generated by tauri's build command as they are not code signed
# rm "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi.zip"
# rm "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi.zip.sig"
# rm "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.nsis.zip"
# rm "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.nsis.zip.sig"
# rm "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi.zip"
# rm "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi.zip.sig"
# rm "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.nsis.zip"
# rm "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.nsis.zip.sig"
# # zip and sign the code signed .msi
# 7z a -mx=0 "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi.zip" "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi"
# npm run tauri signer sign "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\src-tauri\target\release\bundle\msi\[[productName]]_[[version]]_x64_en-US.msi.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY }} -p "${{ secrets.TAURI_KEY_PASSWORD }}"
# 7z a -mx=0 "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi.zip" "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi"
# npm run tauri signer sign "D:\a\holochain-kangaroo\holochain-kangaroo\src-tauri\target\release\bundle\msi\hc-stress-test_0.0.3_x64_en-US.msi.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY }} -p "${{ secrets.TAURI_KEY_PASSWORD }}"
# 7z a -mx=0 "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.nsis.zip" "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.exe"
# npm run tauri signer sign "D:\a\[[GITHUB_REPO_NAME]]\[[GITHUB_REPO_NAME]]\target\release\bundle\nsis\[[productName]]_[[version]]_x64-setup.nsis.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY_0_2 }} -p "${{ secrets.TAURI_KEY_PASSWORD }}"
# 7z a -mx=0 "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.nsis.zip" "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.exe"
# npm run tauri signer sign "D:\a\holochain-kangaroo\holochain-kangaroo\target\release\bundle\nsis\hc-stress-test_0.0.3_x64-setup.nsis.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY_0_2 }} -p "${{ secrets.TAURI_KEY_PASSWORD }}"
# # =========================================================
Expand All @@ -163,7 +163,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "replacce-me v__VERSION__"
releaseName: "hc-stress-test v__VERSION__"
releaseBody: "See assets below to download and install this version."
releaseDraft: true
prerelease: true
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
with:
projectPath: src-tauri # specifying to prevent action from looking for artifacts in crates/hc_launch/src-tauri
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "replace-me v__VERSION__"
releaseName: "hc-stress-test v__VERSION__"
releaseBody: "See assets below to download and install this version."
releaseDraft: true
prerelease: true
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "replace-me",
"name": "hc-stress-test",
"private": true,
"version": "0.0.0",
"version": "0.0.3",
"type": "module",
"scripts": {
"kangaroo": "npm run dist && npm run tauri build",
Expand Down
62 changes: 31 additions & 31 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "holochain-kangaroo" # replace-me
version = "0.0.0" # replace-me -- Choose wisely, see "Note on Versioning" in README
name = "hc-stress-test" # replace-me
version = "0.0.3" # replace-me -- Choose wisely, see "Note on Versioning" in README
description = "A Tauri App"
authors = ["you"]
license = ""
Expand Down
6 changes: 3 additions & 3 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ use utils::{sign_zome_call, ZOOM_ON_SCROLL, create_and_apply_lair_symlink};
use commands::{profile::{get_existing_profiles, set_active_profile, set_profile_network_seed, get_active_profile, open_profile_settings}, restart::restart};


const APP_NAME: &str = "replace-me"; // name of the app. Can be changed without breaking your app.
const APP_ID: &str = "replace-me"; // App id used to install your app in the Holochain conductor - can be the same as APP_NAME. Changing this means a breaking change to your app.
pub const WINDOW_TITLE: &str = "replace-me"; // Title of the window
const APP_NAME: &str = "hc-stress-test"; // name of the app. Can be changed without breaking your app.
const APP_ID: &str = "hc-stress-test"; // App id used to install your app in the Holochain conductor - can be the same as APP_NAME. Changing this means a breaking change to your app.
pub const WINDOW_TITLE: &str = "hc-stress-test"; // Title of the window
pub const WINDOW_WIDTH: f64 = 1400.0; // Default window width when the app is opened
pub const WINDOW_HEIGHT: f64 = 880.0; // Default window height when the app is opened
const PASSWORD: &str = "pass"; // Password to the lair keystore
Expand Down
8 changes: 4 additions & 4 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"withGlobalTauri": true
},
"package": {
"productName": "replace-me",
"version": "0.0.0"
"productName": "hc-stress-test",
"version": "0.0.3"
},
"tauri": {
"allowlist": {
Expand All @@ -21,7 +21,7 @@
}
},
"cli": {
"description": "Running replace-me from the command line",
"description": "Running hc-stress-test from the command line",
"args": [
{
"name": "profile",
Expand All @@ -36,7 +36,7 @@
"bundle": {
"active": true,
"targets": "all",
"identifier": "replace-me.with-unique-identifier.in-reverse-domain-notation",
"identifier": "org.hc-kangaroo.hc-stress-test",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
Expand Down

0 comments on commit c95b91d

Please sign in to comment.