From 1ecb0a7f8cd7b19597075bee9db6fb65ea03734c Mon Sep 17 00:00:00 2001 From: Annette Findley <117473104+varndellwagglebee@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:07:19 -0400 Subject: [PATCH 1/3] Update create-release.yml updated based on hyperbee.json actions --- .github/workflows/create-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 5debdba..d18edb4 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -55,4 +55,4 @@ jobs: $(if [[ "${{ github.event.inputs.is_prerelease }}" == "true" ]]; then echo "--prerelease"; fi) \ $(if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then echo "--latest"; fi) env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From cc8fbd1017a6ef3f8a81f401ecb7a40cdd34bf2a Mon Sep 17 00:00:00 2001 From: Annette Findley <117473104+varndellwagglebee@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:15:50 -0400 Subject: [PATCH 2/3] Update publish.yml updated based on hyperbee.json actions --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dc13585..1821caa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,6 +56,9 @@ jobs: latest_release=$(echo "$releases" | jq -r --arg build_version "$build_version" 'map(select(.tagName | startswith($build_version))) | sort_by(.createdAt) | reverse | .[0] | .tagName') version_suffix=${latest_release#*$build_version-} + if [ "$version_suffix" == "$build_version" ]; then + version_suffix="" + fi echo "VERSION_SUFFIX=$version_suffix" >> $GITHUB_ENV env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From ef0e7836201069539cb305326478b15bce57440b Mon Sep 17 00:00:00 2001 From: Annette Findley <117473104+varndellwagglebee@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:17:52 -0400 Subject: [PATCH 3/3] Update test.yml updated action based on Hyperbee.json actions --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f5ac6c..768bcc3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ on: env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} - SOLUTION_NAME: 'Hyperbee.Pipeline.sln' + SOLUTION_NAME: ${{ vars.SOLUTION_NAME }} DOTNET_VERSION: '8.0.x' jobs: