5555 package : osctrl-${{ inputs.osctrl_component }}
5656 package_root : " .debpkg-osctrl-${{ inputs.osctrl_component }}-${{ inputs.commit_sha }}-${{ inputs.go_os }}-${{ inputs.go_arch }}"
5757 maintainer : jmpsec/osctrl
58- version : ${{ github.ref }} # refs/tags/v*.*.*
58+ version : ${{ inputs.release_version_tag }}
5959 arch : ${{ inputs.go_arch }}
6060 desc : " DEB package for osctrl-${OSCTRL_COMPONENT}-${OSCTRL_VERSION} Commit SHA: ${COMMIT_SHA}"
6161
@@ -71,11 +71,21 @@ runs:
7171 desc : " DEB package for osctrl-${OSCTRL_COMPONENT}-${OSCTRL_VERSION} Commit SHA: ${COMMIT_SHA}"
7272
7373 # ########################## Upload DEBs ###########################
74+ - name : Debug DEB package creation
75+ if : startsWith(github.ref, 'refs/tags/')
76+ run : |
77+ echo "DEB package file name: ${{ steps.create_deb_tagged_pkgs.outputs.file_name }}"
78+ echo "Release version tag: ${{ inputs.release_version_tag }}"
79+ echo "Component: ${{ inputs.osctrl_component }}"
80+ echo "Arch: ${{ inputs.go_arch }}"
81+ ls -la *.deb || echo "No DEB files found"
82+ shell : bash
83+
7484 - name : Upload osctrl DEBs for tagged version
7585 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7686 if : startsWith(github.ref, 'refs/tags/')
7787 with :
78- name : osctrl-${{ inputs.osctrl_component }}_${{ inputs.release_version_tag }}-${{ inputs.commit_sha }} _${{ inputs.go_arch }}.deb
88+ name : osctrl-${{ inputs.osctrl_component }}_${{ inputs.release_version_tag }}_${{ inputs.go_arch }}.deb
7989 path : ${{ steps.create_deb_tagged_pkgs.outputs.file_name }}
8090 retention-days : 10
8191
0 commit comments