Skip to content

Commit

Permalink
ci: manually cloning repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Sep 24, 2024
1 parent 5e7a94c commit ccb4104
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ jobs:
- uses: actions/checkout@v4
- name: Publish stable packages
run: |
git clone ${{ github.repositoryUrl }} nethsecurity
pushd nethsecurity
git fetch --force --tags --depth 500
MAJOR_VERSION="$(git describe | cut -d'-' -f1)"
if [ -z "$MAJOR_VERSION" ]; then
echo "No MAJOR_VERSION found"
exit 1
fi
popd
TMP_FILE=$(mktemp)
wget https://downloads.rclone.org/v1.66.0/rclone-v1.66.0-linux-amd64.deb -O "$TMP_FILE"
sudo dpkg -i "$TMP_FILE"
Expand Down

0 comments on commit ccb4104

Please sign in to comment.