aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 018125c..a8dbc5f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -57,9 +57,8 @@ jobs:
env: { GITHUB_TOKEN: "${{ github.token }}" }
run: |
./build.sh -DLPM_STATIC -DLPM_VERSION='"'$VERSION-x86_64-darwin-`git rev-parse --short HEAD`'"' && tar -czvf lpm-$VERSION-x86_64-darwin.tar.gz lpm
- cp lpm lpm.x86_64-darwin
- gh release upload continuous lpm.x86_64-darwin
+ gh release upload continuous *.tar.gz
if [[ `git tag --points-at HEAD | head -c 4` == "v"* ]]; then
export RELEASE=`git tag --points-at HEAD | head -c 4 | sed 's/^v//'`
- gh release upload v$RELEASE lpm.x86_64-darwin
+ gh release upload v$RELEASE *.tar.gz
fi