File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,11 @@ let major = semver.major(tag);
8
8
let minor = major + '.' + semver . minor ( tag ) ;
9
9
10
10
let tags = [
11
- 'v' + major ,
12
- 'v' + minor ,
11
+ major ,
12
+ minor ,
13
13
] ;
14
14
15
+ core . info ( `Original tag: ${ tag } ` ) ;
15
16
core . info ( `Tags: ${ JSON . stringify ( tags ) } ` ) ;
17
+ core . setOutput ( 'original-tag' , tag ) ;
16
18
core . setOutput ( 'tags' , tags . join ( "\n" ) ) ;
Original file line number Diff line number Diff line change 36
36
for TAG in ${TAGS};do
37
37
echo "Creating and pushing ${TAG}"
38
38
git tag -f ${TAG} ${ORIGINAL_TAG}
39
- git push -f origin v ${TAG}
39
+ git push -f origin ${TAG}
40
40
done
Original file line number Diff line number Diff line change 41
41
- uses : actions/checkout@v2
42
42
name : Gather CI configuration
43
43
id : matrix
44
- uses : laminas/laminas-ci-matrix-action@v1
44
+ uses : laminas/laminas-ci-matrix-action@0
45
45
46
46
qa :
47
47
name : QA Checks
52
52
matrix : ${{ fromJSON(needs.matrix.outputs.matrix) }}
53
53
steps :
54
54
- name : ${{ matrix.name }}
55
- uses : laminas/laminas-continuous-integration-action@v0
55
+ uses : laminas/laminas-continuous-integration-action@0
56
56
with :
57
57
job : ${{ matrix.job }}
58
58
` ` `
You can’t perform that action at this time.
0 commit comments