diff --git a/.github/actions/generate-tags/index.js b/.github/actions/generate-tags/index.js index f69bffc..0382514 100644 --- a/.github/actions/generate-tags/index.js +++ b/.github/actions/generate-tags/index.js @@ -8,9 +8,11 @@ let major = semver.major(tag); let minor = major + '.' + semver.minor(tag); let tags = [ - 'v' + major, - 'v' + minor, + major, + minor, ]; +core.info(`Original tag: ${tag}`); core.info(`Tags: ${JSON.stringify(tags)}`); +core.setOutput('original-tag', tag); core.setOutput('tags', tags.join("\n")); diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index dba24be..d99f15d 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -36,5 +36,5 @@ jobs: for TAG in ${TAGS};do echo "Creating and pushing ${TAG}" git tag -f ${TAG} ${ORIGINAL_TAG} - git push -f origin v${TAG} + git push -f origin ${TAG} done diff --git a/README.md b/README.md index 2e6ec35..4075675 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v2 name: Gather CI configuration id: matrix - uses: laminas/laminas-ci-matrix-action@v1 + uses: laminas/laminas-ci-matrix-action@0 qa: name: QA Checks @@ -52,7 +52,7 @@ jobs: matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }} steps: - name: ${{ matrix.name }} - uses: laminas/laminas-continuous-integration-action@v0 + uses: laminas/laminas-continuous-integration-action@0 with: job: ${{ matrix.job }} ```