From e79aa7022266f935e06c86a75f62b363ee0615f2 Mon Sep 17 00:00:00 2001 From: Nhan Phan Date: Tue, 9 Apr 2024 13:49:00 -0700 Subject: [PATCH] version name, idl name --- .github/workflows/deploy-program.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-program.yml b/.github/workflows/deploy-program.yml index 6387f6d4..2f7a2fb2 100644 --- a/.github/workflows/deploy-program.yml +++ b/.github/workflows/deploy-program.yml @@ -103,7 +103,7 @@ jobs: - name: Determine program version run: | - IDL_NAME="mpl_${{ inputs.program }}_program" + IDL_NAME="mpl_${{ inputs.program }}" VERSION=`jq '.version' ./idls/${IDL_NAME}.json | sed 's/"//g'` MAJOR=`echo ${VERSION} | cut -d. -f1` MINOR=`echo ${VERSION} | cut -d. -f2` @@ -149,7 +149,7 @@ jobs: rm ./program-id.json - name: Version program - working-directory: ./programs/${{ inputs.program }}/program + working-directory: ./programs/mpl-${{ inputs.program }}/program if: github.event.inputs.version_program == 'true' run: | git stash