mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 14:35:44 +00:00
Improve + fix test
This commit is contained in:
9
.github/workflows/test-and-release.yml
vendored
9
.github/workflows/test-and-release.yml
vendored
@@ -78,7 +78,7 @@ jobs:
|
|||||||
- macos-latest
|
- macos-latest
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
fail-fast: true
|
fail-fast: false
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code # have to checkout to have the source code available
|
- name: Checkout code # have to checkout to have the source code available
|
||||||
@@ -126,8 +126,11 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
[[ "${{ steps.version-prefix.outputs.current-version }}" == "0.0.0" ]]
|
[[ "${{ steps.version-prefix.outputs.current-version }}" == "0.0.0" ]]
|
||||||
[[ "${{ steps.version-prefix.outputs.version }}" == "0.0.1" ]]
|
[[ "${{ steps.version-prefix.outputs.major-version }}" == "0" ]]
|
||||||
[[ "${{ steps.version-prefix.outputs.prefixed-version }}" == "foo/bar@0.0.1" ]]
|
[[ "${{ steps.version-prefix.outputs.minor-version }}" == "0" ]]
|
||||||
|
[[ "${{ steps.version-prefix.outputs.patch-version }}" == "1" ]]
|
||||||
|
[[ "${{ steps.version-prefix.outputs.version }}" = "0.0.1-"* ]]
|
||||||
|
[[ "${{ steps.version-prefix.outputs.prefixed-version }}" = "foo/bar@0.0.1-"* ]]
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs:
|
needs:
|
||||||
|
|||||||
Reference in New Issue
Block a user