Skip to content

Commit 9c2658e

Browse files
committed
fix(scripts): Update tar filename in generate_assets.sh script [sip ci]
1 parent 11a965f commit 9c2658e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.releaserc.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
{
2323
"assets": [
2424
{
25-
"path": "dist/arch-devcontainer-features-v${nextRelease.version}.tar.gz",
26-
"label": "Assets for v${nextRelease.version}"
25+
"path": "dist/arch-devcontainer-features.tar.gz",
26+
"label": "Assets for v${nextRelease.version}",
27+
"name": "arch-devcontainer-features-v${nextRelease.version}.tar.gz"
2728
},
2829
{
2930
"path": "dist/checksums.txt",

scripts/generate_assets.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ echo "
5454
mkdir -p "$_DIST_DIR"
5555

5656
# Create a tarball of the repository
57-
_FILENAME=$(basename "${_REPOSITORY_NAME}-${_VERSION}.tar.gz")
57+
_FILENAME=$(basename "${_REPOSITORY_NAME}.tar.gz")
5858
tar -czf "$_DIST_DIR/${_FILENAME}" --exclude="$_DIST_DIR" -C "$_ROOT" .
5959

6060
# Generate checksum for the tarball

0 commit comments

Comments
 (0)