diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 2664d3e..d93469b 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -1,4 +1,4 @@ -name: "C++ Unit Tests" +name: "CPP Unit Tests" on: push: branches: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c6afff..fd55278 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: "Release new version" on: workflow_run: workflows: - - "C++ Unit Tests" + - "CPP Unit Tests" - "Python Bindings Unit Tests" branches: - main @@ -36,13 +36,11 @@ jobs: else echo "exists=false" >> $GITHUB_OUTPUT fi - - name: "Get previous tag" id: prev-tag run: | PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "") echo "previous=${PREV_TAG}" >> $GITHUB_OUTPUT - - name: "Generate changelog" if: ${{ steps.check-tag.outputs.exists == 'false' }} id: changelog @@ -57,17 +55,14 @@ jobs: echo "changelog<> $GITHUB_ENV cat CHANGELOG.txt >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV - - name: "Create tag and release" if: ${{ steps.check-tag.outputs.exists == 'false' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | echo "Creating tag and release for version ${CAPIO_CL_VERSION}" - git tag "${CAPIO_CL_VERSION}" git push origin "${CAPIO_CL_VERSION}" - gh release create "${CAPIO_CL_VERSION}" \ --title "${CAPIO_CL_VERSION}" \ - --notes-file CHANGELOG.txt + --notes-file CHANGELOG.txt \ No newline at end of file