Browse Source

syntax error

Matthew R. Kasun 3 years ago
parent
commit
af6ba24237
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/buildandrelease.yml

+ 3 - 3
.github/workflows/buildandrelease.yml

@@ -45,14 +45,14 @@ jobs:
         uses: actions/checkout@v2
       - name: set variables
         run: |
-          echo ${{ needs.set-version.outputs.tag }} {{ needs.set-version.outputs.version }}
+          echo ${{ needs.set-version.outputs.tag }} ${{ needs.set-version.outputs.version }}
           TAG=${{needs.set-version.outputs.tag}}
           VERSION=${{needs.set-version.outputs.version}}
           if [[ -n ${VERSION} || -n ${TAG} ]]; then
             exit 1
           fi
-          echo "$NETMAKER_VERSION=${TAG}"  >> $GITHUB_ENV
-          echo "$PACKAGE_VERSION=${VERSION}" >> $GITHUB_ENV
+          echo "NETMAKER_VERSION=${TAG}"  >> $GITHUB_ENV
+          echo "PACKAGE_VERSION=${VERSION}" >> $GITHUB_ENV
       - name: Setup go
         uses: actions/setup-go@v2
         with: