From 4cf423384ad73698d98ebbe7179bf224b75e9d99 Mon Sep 17 00:00:00 2001 From: Petro Kurbatskyi Date: Mon, 7 Nov 2022 11:47:40 +0100 Subject: [PATCH] IBX-4145: Hotfix for missing "v" --- .github/workflows/release.yml | 2 +- action.yml | 2 +- main.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca2e989..2615285 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: echo "BUILD_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV echo "BUILD_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV - name: Docker Login - uses: docker/login-action@v1.8.0 + uses: docker/login-action@v2.1.0 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/action.yml b/action.yml index 8913024..a630e40 100644 --- a/action.yml +++ b/action.yml @@ -14,4 +14,4 @@ outputs: description: "Output from the action" runs: using: "docker" - image: "docker://ghcr.io/ibexa/version-logic-action:v1.3.0" + image: "docker://ghcr.io/ibexa/version-logic-action:v1.3.1" diff --git a/main.py b/main.py index e1e6305..3a086cf 100644 --- a/main.py +++ b/main.py @@ -39,7 +39,7 @@ def main(): else: previous_tag = semver.format_version(major, minor, patch - 1) - set_output("previousTag", previous_tag) + set_output("previousTag", f"v{previous_tag}") if __name__ == "__main__":