Skip to content

Commit

Permalink
v5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vmsachin committed May 1, 2024
1 parent 8cf7d93 commit 1397ac9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,19 @@ 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 @@ -87,7 +92,6 @@ 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 @@ -102,4 +106,3 @@ jobs:




0 comments on commit 1397ac9

Please sign in to comment.