Skip to content

Commit be79bc2

Browse files
authored
Merge pull request #163 from bennyhodl/release-1.1.0
chore: release 1.1.0
2 parents ae2eaf1 + baf9cbe commit be79bc2

3 files changed

Lines changed: 24 additions & 26 deletions

File tree

Cargo.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resolver = "2"
33
members = ["ddk", "dlc", "dlc-messages", "dlc-trie", "payouts", "ddk-node", "ddk-manager", "kormir"]
44

55
[workspace.package]
6-
version = "1.0.11"
6+
version = "1.1.0"
77
edition = "2021"
88
license = "MIT"
99
repository = "https://github.com/bennyhodl/dlcdevkit"

release.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ async function release() {
397397
}
398398

399399
// Step 4: create (or resume) the release branch.
400-
const branchExists = run(`git rev-parse --verify ${releaseBranch}`, {
400+
const branchExists = run(`git rev-parse --verify ${releaseBranch} 2>/dev/null`, {
401401
allowFailure: true,
402402
});
403403
if (branchExists) {
@@ -408,13 +408,11 @@ async function release() {
408408
console.log(`✅ Created branch ${releaseBranch}`);
409409
}
410410

411-
// Step 5: release notes, committed as their own change so the working tree
412-
// is clean before cargo-workspaces runs.
411+
// Step 5: generate release notes. The `releases/` dir is gitignored — the
412+
// notes live on the GitHub release page (see Step 10), not in the repo — so
413+
// there's nothing to commit, and the ignored file doesn't dirty the working
414+
// tree before cargo-workspaces runs.
413415
const releaseNotes = generateReleaseNotes(version);
414-
run("git add releases/");
415-
run(`git commit -m "docs: release notes for v${version}"`, {
416-
allowFailure: true, // no-op on resume / nothing to commit
417-
});
418416

419417
// Step 6: bump + publish in dependency order via cargo-workspaces.
420418
// It derives the publish order from the dependency graph and skips crates

0 commit comments

Comments
 (0)