Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandalen committed Jun 20, 2023
2 parents e6ff9ef + 7af00eb commit 2813e27
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 52 deletions.
52 changes: 0 additions & 52 deletions step/ActionWrite.s

This file was deleted.

19 changes: 19 additions & 0 deletions step/TagMajorStep.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

function majorTagSet( frame )
{
const run = frame.run;
const module = run.module;

const splits = module.about.version.split( '.' );
const version = splits[ 0 ];

return module.gitTag
({
tag : `v${ version }`,
description : '',
dry : 0,
light : 1,
});
}

module.exports = majorTagSet;
10 changes: 10 additions & 0 deletions will.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ reflector:
- !<tag:yaml.org,2002:js/regexp> /retry/
- !<tag:yaml.org,2002:js/regexp> /signal-exit/
- !<tag:yaml.org,2002:js/regexp> /tunnel/
- !<tag:yaml.org,2002:js/regexp> /uuid/
- !<tag:yaml.org,2002:js/regexp> /yaml-ast-parser/
- !<tag:yaml.org,2002:js/regexp> /Joined.s/
step:
Expand Down Expand Up @@ -360,6 +361,9 @@ step:
tag.js_action:
inherit: git.tag
tag: 'v{about::version}_js_action'
tag.major:
inherit: js.run
js: '{path::step}/TagMajorStep.s'
push:
inherit: git.push
dirPath: .
Expand All @@ -376,8 +380,10 @@ build:
default: 1
bump: patch
steps:
- switch.master
- sync
- switch.js_action
- sync
- clean.npm
- 'build::build.compiled'
- bump.*=1
Expand All @@ -392,6 +398,7 @@ build:
- add
- commit
- tag
- tag.major
- push
- release
action.release:
Expand All @@ -402,8 +409,10 @@ build:
- minor
- patch
steps:
- switch.master
- sync
- switch.js_action
- sync
- clean.npm
- 'build::build.compiled'
- bump.*=1
Expand All @@ -418,6 +427,7 @@ build:
- add
- commit
- tag
- tag.major
- push
- release
doc.export:
Expand Down

0 comments on commit 2813e27

Please sign in to comment.