diff --git a/.github/workflows/build_packages.yml b/.github/workflows/build_packages.yml index a6ebd83525c..1be870448aa 100644 --- a/.github/workflows/build_packages.yml +++ b/.github/workflows/build_packages.yml @@ -6,6 +6,7 @@ on: - 'release/**' - 'hotfix/**' - 'develop' + - 'feature/build-action' paths: - 'install/common/**' - 'install/deb/**' @@ -34,9 +35,9 @@ env: PRODUCT_LOW: "docspace" BUILD_NUMBER: ${{ github.run_number }} PACKAGE_DIRECTORY: "/home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}" - BRANCH_BUILDTOOLS: ${{ github.event.inputs.branch-buildtools != '' && github.event.inputs.branch-buildtools || github.ref_name || 'develop' }} - BRANCH_CLIENT: ${{ github.event.inputs.branch-client != '' && github.event.inputs.branch-client || github.ref_name || 'develop' }} - BRANCH_SERVER: ${{ github.event.inputs.branch-server != '' && github.event.inputs.branch-server || github.ref_name || 'develop' }} + BRANCH_BUILDTOOLS: 'hotfix/v3.0.1' + BRANCH_CLIENT: 'hotfix/v3.0.1' + BRANCH_SERVER: 'hotfix/v3.0.1' jobs: prepare: @@ -64,16 +65,12 @@ jobs: BUILD_RPM="${{ steps.changes.outputs.build_rpm }}" echo "BUILD_DEB=$BUILD_DEB" echo "BUILD_RPM=$BUILD_RPM" - declare -a package_types=() - if [[ "$BUILD_DEB" == "true" ]]; then - package_types+=("deb") - fi - if [[ "$BUILD_RPM" == "true" ]]; then - package_types+=("rpm") - fi + package_types=() + [ "$BUILD_DEB" == "true" ] && package_types+=("deb") + [ "$BUILD_RPM" == "true" ] && package_types+=("rpm") if [ ${#package_types[@]} -eq 0 ]; then echo "No packages to build" - exit 0 + exit 0 fi matrix=$(printf '%s\n' "${package_types[@]}" | jq -R . | jq -sc '{include: map({packageType: .})}') echo "matrix=$matrix" >> $GITHUB_OUTPUT diff --git a/install/deb/debian/po/POTFILES.in b/install/deb/debian/po/POTFILES.in index ffbd7f11ada..a77f1a0e4d1 100644 --- a/install/deb/debian/po/POTFILES.in +++ b/install/deb/debian/po/POTFILES.in @@ -1,3 +1,3 @@ -# List of source files containing translatable strings. +## List of source files containing translatable strings. [type: gettext/rfc822deb] {{product}}.templates