From 6e638316b76d6d2e2993094ed1018b7458a70853 Mon Sep 17 00:00:00 2001 From: Juned Memon Date: Mon, 4 Nov 2024 10:49:52 +0530 Subject: [PATCH] Using proper version --- .github/workflows/helm-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/helm-release.yml b/.github/workflows/helm-release.yml index 92f6bdf..9be6b2c 100644 --- a/.github/workflows/helm-release.yml +++ b/.github/workflows/helm-release.yml @@ -84,17 +84,17 @@ jobs: cd charts/enbuild helm dependency build cd ../../ - .github/scripts/create_haul_file.sh ${{ steps.new_version_var.outputs.new_version }} charts/enbuild - /usr/local/bin/hauler store sync -f "/tmp/enbuild_${{ steps.new_version_var.outputs.new_version }}_haul.yaml" - /usr/local/bin/hauler store save --filename enbuild-${{ steps.new_version_var.outputs.new_version }}.tar.zst + .github/scripts/create_haul_file.sh ${{ steps.get_current_var.outputs.current_version }} charts/enbuild + /usr/local/bin/hauler store sync -f "/tmp/enbuild_${{ steps.get_current_var.outputs.current_version }}_haul.yaml" + /usr/local/bin/hauler store save --filename enbuild-${{ steps.get_current_var.outputs.current_version }}.tar.zst # Upload the tar file to AWS S3 - name: Upload to S3 uses: keithweaver/aws-s3-github-action@v1.0.0 with: command: cp - source: enbuild-${{ steps.new_version_var.outputs.new_version }}.tar.zst - destination: s3://enbuild-haul/enbuild-${{ steps.new_version_var.outputs.new_version }}.tar.zst + source: enbuild-${{ steps.get_current_var.outputs.current_version }}.tar.zst + destination: s3://enbuild-haul/enbuild-${{ steps.get_current_var.outputs.current_version }}.tar.zst aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws_region: ${{ secrets.AWS_DEFAULT_REGION }} + aws_region: ${{ secrets.AWS_DEFAULT_REGION }} \ No newline at end of file