Skip to content

Commit

Permalink
chore(release): publish 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nomyfan committed Feb 20, 2024
1 parent 0749c89 commit 4c7ad90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
$regex = '(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?'
$ok = "${{ github.event.head_commit.message }}" -match $regex
if ($ok) {
$version = "v$Matches[0]"
$version = "v" + $Matches[0]
Write-Host $version
echo "RELEASE_VERSION=$version" >> $env::GITHUB_ENV
} else {
Expand All @@ -45,6 +45,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
if: ${{ success() }}

- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down

0 comments on commit 4c7ad90

Please sign in to comment.