diff --git a/.forgejo/workflows/package.yml b/.forgejo/workflows/package.yml index f58eb2c..7ab2c29 100644 --- a/.forgejo/workflows/package.yml +++ b/.forgejo/workflows/package.yml @@ -15,7 +15,7 @@ jobs: mkdir -p \ package/debian/barcode-utils/usr/bin \ package/debian/barcode-utils/usr/share/webextensions - sed -re "s/__VERSION__/0.$(git rev-list --count HEAD)-1/g" -i package/debian/barcode-utils/DEBIAN/control + sed -re "s/__VERSION__/0.$(git rev-list --count ${GITHUB_REF_NAME})-1/g" -i package/debian/barcode-utils/DEBIAN/control # barcode-websocket-server cp barcode-websocket-server package/debian/barcode-utils/usr/bin/ # webextension-tabfocus