From 91d19da832fe3080af24dd6084a2e88efd560db4 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Thu, 1 Jun 2023 19:00:40 +0200 Subject: [PATCH] workflow: fix incremental versions (missing `v` prefix) --- .github/workflows/build_release.yaml | 2 +- RELEASE.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_release.yaml b/.github/workflows/build_release.yaml index 08f0425..20261fc 100644 --- a/.github/workflows/build_release.yaml +++ b/.github/workflows/build_release.yaml @@ -54,7 +54,7 @@ jobs: - name: 'Release debian files' uses: ncipollo/release-action@v1 with: - tag: ${{ env.GIT_VERSION }} + tag: "v${{ env.GIT_VERSION }}" artifacts: "deb/*.deb" allowUpdates: true omitBodyDuringUpdate: true diff --git a/RELEASE.md b/RELEASE.md index 837f640..7192ba8 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -21,7 +21,7 @@ if [[ -e /etc/default/raspberrypi-kernel ]]; then else PACKAGE=camera-streamer-generic_#{GIT_VERSION}.bullseye_$(dpkg --print-architecture).deb fi -wget "https://github.com/ayufan/camera-streamer/releases/download/#{GIT_VERSION}/$PACKAGE" +wget "https://github.com/ayufan/camera-streamer/releases/download/v#{GIT_VERSION}/$PACKAGE" sudo apt install "$PWD/$PACKAGE" ```