diff --git a/.github/workflows/build_rpm.yml b/.github/workflows/build_rpm.yml index 621ecec..909dbb5 100644 --- a/.github/workflows/build_rpm.yml +++ b/.github/workflows/build_rpm.yml @@ -62,7 +62,7 @@ jobs: run: | echo '::group::Checking the version number' if [[ "${{ inputs.nightly }}" = true ]]; then - echo VERSION=$(tr -d '\n' < .version)+nightly$(date '+%Y%m%d')$(git rev-parse --short HEAD | sed s/-/_/g) >> $GITHUB_ENV + echo VERSION=$(tr -d '\n' < .version | sed s/-/_/g)+nightly$(date '+%Y%m%d')$(git rev-parse --short HEAD | sed s/-/_/g) >> $GITHUB_ENV else echo VERSION=$(tr -d '\n' < .version | sed s/-/_/g) >> $GITHUB_ENV fi