Skip to content

Commit

Permalink
v5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vmsachin committed May 1, 2024
1 parent c28569f commit 8cf7d93
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,14 @@ jobs:
run: |
ls
cargo build --release
- name: Fetch tags
run: git fetch --tags

- name: List tags
run: git tag
- name: Get latest tag
id: get_tag
run: echo "::set-output name=tag::$(git describe --tags --abbrev=0 | sed 's/v//')"

- name: Replace version in control file
run: sed -i "s/@VERSION@/${{ steps.get_tag.outputs.tag }}/g" pkg/deb/control

- name: Package for deb
run: |
mkdir -p pkg/deb/aerospike-php-client-deb
Expand All @@ -92,6 +87,7 @@ jobs:
cp pkg/deb/aerospike-php-client-deb.deb pkg/deb/aerospike-php-client-1.0.2-aarch64.deb
ls pkg/deb/
rm -rf pkg/deb/aerospike-php-client-deb*
- name: Move DEB x86_64 to artifacts
uses: actions/upload-artifact@v2
with:
Expand All @@ -106,3 +102,4 @@ jobs:




0 comments on commit 8cf7d93

Please sign in to comment.