From 17b49794a2810eae912553f04b4d221df69e0cf5 Mon Sep 17 00:00:00 2001 From: MuneebAijaz Date: Mon, 5 Aug 2024 13:58:29 +0500 Subject: [PATCH] fixes --- .github/workflows/pull_request.yaml | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 2a9625c..622bd11 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -58,8 +58,8 @@ jobs: - name: Get Highest tag id: highest_tag run: | - highest_tag=$(git tag -l --sort -version:refname | head -n 1) - echo "tag=${highest_tag%%-*}" >> $GITHUB_OUTPUT + highest=$(git tag -l --sort -version:refname | head -n 1) + echo "tag=${highest%%-*}" >> $GITHUB_OUTPUT # Get highest tag and remove any suffixes with '-' - name: Print Highest tag diff --git a/go.mod b/go.mod index fd1a699..93cd6cd 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/stakater/Reloader -go 1.21 +go 1.21.12 require ( github.com/argoproj/argo-rollouts v1.7.1