Skip to content

Commit

Permalink
CR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lmuntaner committed May 13, 2024
1 parent 2d0545c commit 4a1c879
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Next Publication

on:
workflow_dispatch:
push:
branches:
- lm-nightly-release

jobs:
publish:
Expand Down
12 changes: 8 additions & 4 deletions js-library/scripts/update-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,17 @@ const updateVersion = async () => {
return;
}

const { version: currentVersion, ...rest } = JSON.parse(
readFileSync(packagePath, "utf-8"),
);
const {
version: currentVersion,
name: packageName,
...rest
} = JSON.parse(readFileSync(packagePath, "utf-8"));

const projectName = packageName.replace("@dfinity/", "");

// Build wip version number
const version = await nextVersion({
project: "hardware-wallet-cli",
project: projectName,
currentVersion,
});

Expand Down

0 comments on commit 4a1c879

Please sign in to comment.