From f3024367af519edc69fb0e0028327fdd15f89d6e Mon Sep 17 00:00:00 2001 From: Christopher Lowenthal Date: Mon, 31 Oct 2022 12:44:26 -0400 Subject: [PATCH] updates permissions to make version.sh runnable, updates syntax for filling verison output --- .github/workflows/release.yml | 5 +++-- .github/workflows/version.sh | 0 2 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 .github/workflows/version.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b2acd372..c6fdff669 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,14 +10,15 @@ jobs: version: runs-on: ubuntu-latest steps: + - id: version - uses: actions/checkout@v3 - run: cd $GITHUB_WORKSPACE - run: pwd - run: ls -alt - run: git pull --tags - run: git describe --tags - - run: echo $(sh .github/workflows/version.sh) - - run: echo "::set-output version=$(sh .github/workflows/version.sh)" + - run: .github/workflows/version.sh + - run: echo "version=$(.github/workflows/version.sh)" >> $GITHUB_OUTPUT build-lattice: runs-on: ubuntu-latest diff --git a/.github/workflows/version.sh b/.github/workflows/version.sh old mode 100644 new mode 100755