Skip to content

Commit

Permalink
fix(packaging): update lua-curl and connectors versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Feb 13, 2024
1 parent a0c8723 commit 1833348
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lua-curl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ jobs:
package_extension: ${{ matrix.package_extension }}
arch: amd64
major_version: ${{ needs.get-version.outputs.version }}
version: "0.3.13"
release: "7"
version: ${{ needs.get-version.outputs.version }}.0
release: "1"
commit_hash: ${{ github.sha }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-${{ matrix.package_extension }}-lua-curl-${{ matrix.distrib }}
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stream-connectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
nfpm_file_pattern: "stream-connectors/packaging/connectors/centreon-stream-connectors.yaml"
distrib: ${{ matrix.distrib }}
major_version: ${{ needs.get-version.outputs.version }}
version: ${{ steps.package-version.outputs.package_version }}
version: ${{ needs.get-version.outputs.version }}.${{ steps.package-version.outputs.package_version }}
release: "1"
package_extension: ${{ matrix.package_extension }}
arch: all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,17 @@ overrides:
depends:
- centreon-broker-core >= ${MAJOR_VERSION}
- centreon-broker-core < ${NEXT_MAJOR_VERSION}
- lua-curl >= ${MAJOR_VERSION}
- lua-curl < ${NEXT_MAJOR_VERSION}
- lua-socket >= 3.0
- lua-curl
- lua
deb:
depends:
- "centreon-broker-core (>= ${MAJOR_VERSION}~)"
- "centreon-broker-core (<< ${NEXT_MAJOR_VERSION}~)"
- "lua5.3-curl (>= ${MAJOR_VERSION}~)"
- "lua5.3-curl (<< ${NEXT_MAJOR_VERSION}~)"
- "lua-socket (>= 3.0~)"
- "lua5.3-curl"
- "lua5.3"

rpm:
Expand Down

0 comments on commit 1833348

Please sign in to comment.