Skip to content

Commit 8f01d6d

Browse files
Merge pull request #57 from splunk:fix-artifact-name
fix: remove trailing slash from sanitized artifact name in deployment workflows
2 parents 7006cdf + 5ce2cf6 commit 8f01d6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
path: artifacts/
5353
- name: Prepare sanitized artifact name
5454
id: sanitize
55-
run: echo "SANITIZED_NAME=${{ matrix.environment.name }}/" | sed 's/[\/:*?"<>|]/-/g' >> $GITHUB_ENV
55+
run: echo "SANITIZED_NAME=${{ matrix.environment.name }}" | sed 's/[\/:*?"<>|]/-/g' >> $GITHUB_ENV
5656
- name: Debugging apps re-package
5757
uses: actions/upload-artifact@v3
5858
with:

.github/workflows/manual_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
path: artifacts/
4646
- name: Prepare sanitized artifact name
4747
id: sanitize
48-
run: echo "SANITIZED_NAME=${{ matrix.environment.name }}/" | sed 's/[\/:*?"<>|]/-/g' >> $GITHUB_ENV
48+
run: echo "SANITIZED_NAME=${{ matrix.environment.name }}" | sed 's/[\/:*?"<>|]/-/g' >> $GITHUB_ENV
4949
- name: Debugging apps re-package
5050
uses: actions/upload-artifact@v3
5151
with:

0 commit comments

Comments
 (0)