Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Jul 16, 2023
1 parent 8afbc0b commit 2ceeeb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ jobs:

- name: Update repo cache
uses: distributhor/workflow-webhook@v3
with:
env:
webhook_url: ${{ secrets.WEBHOOK_URL }}
webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
4 changes: 2 additions & 2 deletions docker/build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ version="$1"

cd $workdir || exit

git config --global --add safe.directory $workdir

if [ -z "$version" ]
then
version=$(git describe --long --tags --always)
fi

git config --global --add safe.directory $workdir

sed -i "s/VERSION = 1.0.0/VERSION = $version/g" debian/rules
sed -i "s/1.0-0/$version/g" debian/changelog

Expand Down

0 comments on commit 2ceeeb8

Please sign in to comment.