Skip to content

Commit

Permalink
DevOps: Improve new release command
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanmurty committed Sep 17, 2024
1 parent fde3aeb commit 7706d89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commands/release.command.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Release command - Run via "deno task release"

import { format } from "@std/datetime/format";
import { Command as exec } from "@gnome/exec";
import { runSync as exec } from "@gnome/exec";

// Setup

Expand Down Expand Up @@ -35,8 +35,8 @@ if (code !== 0) {

console.log("%cTagging commit and pushing changes...", "color: blue");

new exec("git", "tag " + nextVersion);
new exec("git", "push --quiet");
new exec("git", "push --tags --quiet");
exec("git", "tag " + nextVersion);
exec("git", "push --quiet");
exec("git", "push --tags --quiet");

console.log("%cDone. A new GitHub Actions workflow should now remotely test and deploy these changes.", "color: green");

0 comments on commit 7706d89

Please sign in to comment.