Skip to content

Commit

Permalink
versioned subdirectory in release tarballs. Closes #1639 (#1640)
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo authored Sep 15, 2023
1 parent 4c1e23c commit a9dc6c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
RELEASE_NAME="${GITHUB_REF_NAME}"
fi
if [[ ! -z "${RELEASE_NAME}" ]]; then
cp -r $PWD /tmp/gdl && rm -rf /tmp/gdl/.git && cd /tmp
tar czf "/tmp/gdl-${RELEASE_NAME}.tar.gz" gdl
cp -r $PWD /tmp/gdl-${RELEASE_NAME} && rm -rf /tmp/gdl-${RELEASE_NAME}/.git && cd /tmp
tar czf "/tmp/gdl-${RELEASE_NAME}.tar.gz" gdl-${RELEASE_NAME}
echo "released=true" >> "$GITHUB_OUTPUT"
fi
- name: Upload Release Assets (unstable)
Expand Down

0 comments on commit a9dc6c8

Please sign in to comment.