From dd3f948281c47098c391e263a5bf581cea31713a Mon Sep 17 00:00:00 2001 From: Bogdan Kolbik Date: Mon, 9 Oct 2023 16:50:10 +0200 Subject: [PATCH] Fix norelease labels --- .github/workflows/publish.yaml | 6 +++--- Cargo.toml | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index ad2cee8..10b2426 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -28,7 +28,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set version - if: ${{ steps.calc_version.outputs.version }} != "" + if: ${{ steps.calc_version.outputs.version != "" }} run: | sed -i "s/^version = \".*\"$/version = \"${{ steps.calc_version.outputs.version }}\"/" Cargo.toml - name: Publish new version to main @@ -39,7 +39,7 @@ jobs: git commit -am "Release ${{ steps.calc_version.outputs.version }} [skip ci]" git push - name: Create github release - if: ${{ steps.calc_version.outputs.version }} != "" + if: ${{ steps.calc_version.outputs.version != "" }} uses: rymndhng/release-on-push-action@master with: bump_version_scheme: patch @@ -47,7 +47,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish - if: ${{ steps.calc_version.outputs.version }} != "" + if: ${{ steps.calc_version.outputs.version != "" }} run: cargo publish env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index 4d7ede2..c2447f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,8 +5,7 @@ homepage = "https://github.com/moia-oss/tinytime.rs" repository = "https://github.com/moia-oss/tinytime.rs" documentation = "https://docs.rs/tinytime" edition = "2021" -# Version is defined during release -version = "" +version = "0.7.1" license = "MIT OR Apache-2.0" [dependencies]