From 6c512520f8199b88a38785185bdd382affa360c8 Mon Sep 17 00:00:00 2001 From: Azeem Sajid Date: Fri, 23 Dec 2022 01:05:34 +0500 Subject: [PATCH] Fix git checkout on tag/release. --- .github/workflows/ci.yml | 1 + src/version.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1723c89..692ba7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,6 +74,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - name: Checkout on tag/release uses: actions/checkout@v3 diff --git a/src/version.hpp b/src/version.hpp index 5db0ea3..a89a602 100644 --- a/src/version.hpp +++ b/src/version.hpp @@ -1,3 +1,3 @@ #pragma once -#define VERSION "0.0.2" +#define VERSION "0.0.1"