From 6b42beaed8634e325965a69a944408706fc0e2a6 Mon Sep 17 00:00:00 2001 From: diegoveloper Date: Sat, 23 Nov 2024 14:57:33 -0500 Subject: [PATCH] test4 --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69761c9..a50b288 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: uses: WyriHaximus/github-action-get-previous-tag@master - name: Print Latest Version - run: echo "Latest tag: ${{ steps.previoustag.outputs.tag }}" + run: echo Latest tag: ${{ steps.previoustag.outputs.tag }} - name: Get Version from pubspec.yaml id: config @@ -27,16 +27,16 @@ jobs: version_name: version - name: Print New Version - run: echo "New version from pubspec.yaml: ${{ steps.config.outputs.version_name }}" + run: echo New version from pubspec.yaml: ${{ steps.config.outputs.version_name }} - name: Compare Version - if: steps.config.outputs.version_name == steps.previoustag.outputs.tag + if: ${{ steps.config.outputs.version_name == steps.previoustag.outputs.tag }} run: | - echo 'The version from pubspec.yaml is the same as the latest release tag. Please update the version.' + echo "The version from pubspec.yaml is the same as the latest release tag. Please update the version." exit 1 - name: Save New Version - run: echo "${{ steps.config.outputs.version_name }}" > version.txt + run: echo ${{ steps.config.outputs.version_name }} > version.txt - name: Upload New Version Artifact uses: actions/upload-artifact@v4