Skip to content

Commit

Permalink
fix(ci): add workflow dispatch tag_name input
Browse files Browse the repository at this point in the history
  • Loading branch information
crookse committed Oct 17, 2023
1 parent e17adec commit c687a56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/v3.x.publish_release_npm_dry_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: v3.x - Publish Release (npm - Dry Run)

on:
workflow_dispatch:
inputs:
tag_name:
type: string

jobs:

Expand Down
7 changes: 4 additions & 3 deletions scripts/check_package_json_version_for_release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ const packageJsonContents = new TextDecoder().decode(
const packageJson = JSON.parse(packageJsonContents);
const packageJsonVersion = `v${packageJson.version}`;

console.log("\n/////////////////////////////////////////\n")
console.log("\n//////////// MOMENT OF TRUTH ////////////\n")
console.log("\n/////////////////////////////////////////\n")
console.log("\n");
console.log("/////////////////////////////////////////")
console.log("//////////// MOMENT OF TRUTH ////////////")
console.log("/////////////////////////////////////////")

console.log("Checking package.json version with GitHub release tag version ...\n");

Expand Down

0 comments on commit c687a56

Please sign in to comment.