Skip to content

Commit

Permalink
enh(packaging): increase version number of lua-tz and lua-cffi
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Feb 13, 2024
1 parent 10af2bd commit 3af6e53
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lua-cffi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
package_extension: ${{ matrix.package_extension }}
arch: amd64
major_version: ${{ needs.get-version.outputs.version }}
version: "0.2.4"
version: ${{ needs.get-version.outputs.version }}.0
release: "1"
commit_hash: ${{ github.sha }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-${{ matrix.package_extension }}-lua-cffi-${{ matrix.distrib }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lua-tz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
package_extension: ${{ matrix.package_extension }}
arch: all
major_version: ${{ needs.get-version.outputs.version }}
version: "0.5"
version: ${{ needs.get-version.outputs.version }}.0
release: "1"
commit_hash: ${{ github.sha }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-${{ matrix.package_extension }}-lua-tz-${{ matrix.distrib }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/stream-connectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@ jobs:
DEB_DEPENDENCIES=""
RPM_DEPENDENCIES=""
if [ "${{ matrix.connector_path }}" = "kafka" ]; then
DEB_DEPENDENCIES="librdkafka1,lua-cffi"
RPM_DEPENDENCIES="librdkafka,lua-cffi"
DEB_DEPENDENCIES='librdkafka1,"lua-cffi (>= \${MAJOR_VERSION}~)","lua-cffi (<< \${NEXT_MAJOR_VERSION}~)"'
RPM_DEPENDENCIES='librdkafka,lua-cffi >= \${MAJOR_VERSION},lua-cffi \${NEXT_MAJOR_VERSION}'
elif [ "${{ matrix.connector_path }}" = "pagerduty" ]; then
DEB_DEPENDENCIES="lua-tz"
RPM_DEPENDENCIES="lua-tz"
DEB_DEPENDENCIES='lua-tz (>= \${MAJOR_VERSION}~)","lua-tz (<< \${NEXT_MAJOR_VERSION}~)"'
RPM_DEPENDENCIES='lua-tz >= \${MAJOR_VERSION},lua-tz \${NEXT_MAJOR_VERSION}'
elif [ "${{ matrix.connector_path }}" = "splunk" ]; then
DEB_DEPENDENCIES="lua-tz"
RPM_DEPENDENCIES="lua-tz"
DEB_DEPENDENCIES='lua-tz (>= \${MAJOR_VERSION}~)","lua-tz (<< \${NEXT_MAJOR_VERSION}~)"'
RPM_DEPENDENCIES='lua-tz >= \${MAJOR_VERSION},lua-tz \${NEXT_MAJOR_VERSION}'
fi
sed -i "s/@RPM_DEPENDENCIES@/$RPM_DEPENDENCIES/g;" ./stream-connectors/packaging/connectors/centreon-stream-connectors.yaml
sed -i "s/@DEB_DEPENDENCIES@/$DEB_DEPENDENCIES/g;" ./stream-connectors/packaging/connectors/centreon-stream-connectors.yaml
Expand Down

0 comments on commit 3af6e53

Please sign in to comment.