Skip to content

Commit

Permalink
v10
Browse files Browse the repository at this point in the history
  • Loading branch information
ayazzz committed Jun 2, 2022
1 parent 0f7074b commit 59602e2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48690,7 +48690,7 @@ async function run() {
}

const canRelease = !tagResponse.data.tag_name;
const isProductionVersion = String(version).match(/^v([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)$/gm);
const isProductionVersion = tag.match(/^v([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)$/gm);
const isPrerelease = isProductionVersion === null;
if (isPrerelease) {
npmPublishTag = 'alpha';
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mean-dao-publish",
"version": "9.0.0",
"version": "10.0.0",
"description": "GitHub Action to release and publish packages",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async function run() {
}

const canRelease = !tagResponse.data.tag_name;
const isProductionVersion = String(version).match(/^v([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)$/gm);
const isProductionVersion = tag.match(/^v([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)$/gm);
const isPrerelease = isProductionVersion === null;
if (isPrerelease) {
npmPublishTag = 'alpha';
Expand Down

0 comments on commit 59602e2

Please sign in to comment.