Skip to content
Snippets Groups Projects
Unverified Commit bd34ed6c authored by jie.wang's avatar jie.wang Committed by GitHub
Browse files

Fix package workflow (#844)

parent 817cdd6f
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ jobs:
run: |
filename=$(find build/cpack_output -type f \( -iname \*.deb -o -iname \*.rpm \))
sha256sum $filename > $filename.$SHA_EXT
subdir = $(date -u +%Y.%m.%d)
subdir=$(date -u +%Y.%m.%d)
echo "::set-output name=filepath::$filename"
echo "::set-output name=shafilepath::$filename.$SHA_EXT"
echo "::set-output name=subdir::$subdir"
......
......@@ -37,7 +37,7 @@ jobs:
tag=$(echo ${{ github.ref }} | rev | cut -d/ -f1 | rev)
filename=$(find build/cpack_output -type f \( -iname \*.deb -o -iname \*.rpm \))
sha256sum $filename > $filename.$SHA_EXT
subdir = $(echo $tag |sed 's/^v//')
subdir=$(echo $tag |sed 's/^v//')
echo "::set-output name=filepath::$filename"
echo "::set-output name=shafilepath::$filename.$SHA_EXT"
echo "::set-output name=subdir::$subdir"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment