From 1121d5489ca32d22e031bc06ac0bf9feae93caec Mon Sep 17 00:00:00 2001 From: James Armes Date: Wed, 9 Oct 2024 12:55:16 -0400 Subject: [PATCH] fix: updated asset name --- .github/workflows/release-test.yaml | 11 ++++++++--- aptible/managed_endpoint/CHANGELOG.md | 2 -- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-test.yaml b/.github/workflows/release-test.yaml index 56eefd0..ed7126c 100644 --- a/.github/workflows/release-test.yaml +++ b/.github/workflows/release-test.yaml @@ -71,13 +71,18 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} dry_run: true changelog_increment_filename: release.md + - name: Get the module name + run: | + MODULE_PATH="${{ matrix.module }}" + MODULE_NAME="${MODULE_PATH//\//_}" + echo $MODULE_NAME - name: Bundle the module - run: tar czf ${{ steps.bump.outputs.version }}.tar.gz ${{ matrix.module }} + run: tar czf "${MODULE_NAME}-${{ steps.bump.outputs.version }}.tar.gz" ${{ matrix.module }} - name: Create release uses: softprops/action-gh-release@v2 with: body_path: release.md - tag_name: ${{ steps.bump.outputs.version }} + tag_name: ${MODULE_NAME}-${{ steps.bump.outputs.version }} files: | release.md - ${{ steps.bump.outputs.version }}.tar.gz + ${MODULE_NAME}-${{ steps.bump.outputs.version }}.tar.gz diff --git a/aptible/managed_endpoint/CHANGELOG.md b/aptible/managed_endpoint/CHANGELOG.md index fc13001..28235c0 100644 --- a/aptible/managed_endpoint/CHANGELOG.md +++ b/aptible/managed_endpoint/CHANGELOG.md @@ -9,7 +9,5 @@ to [Semantic Versioning][semver]. Initial release of the Aptible Managed Endpoint module. -Bump - [changelog]: https://keepachangelog.com/en/1.1.0/ [semver]: https://semver.org/spec/v2.0.0.html