Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit ce094cc

Browse files
fix(releasing): archive file name version
1 parent 03eb2fa commit ce094cc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@
6666
},
6767
{
6868
"path": "@semantic-release/exec",
69-
"cmd": "./scripts/rebuild.sh"
69+
"cmd": "./updateVersion.sh ${nextRelease.version} ${options.branch}"
7070
},
7171
{
7272
"path": "@semantic-release/exec",
73-
"cmd": "./updateVersion.sh ${nextRelease.version} ${options.branch}"
73+
"cmd": "./scripts/rebuild.sh"
7474
},
7575
{
7676
"path": "@semantic-release/exec",

scripts/buildrelease.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
rm WebService-Hexonet-Connector-"$1".tar.gz >/dev/null 2>&1
2+
rm WebService-Hexonet-Connector-v"$1".tar.gz >/dev/null 2>&1
33
make manifest && make tardist
4-
cp WebService-Hexonet-Connector-"$1".tar.gz WebService-Hexonet-Connector-latest.tar.gz
5-
cp WebService-Hexonet-Connector-"$1".tar.gz WebService-Hexonet-Connector.tar.gz
4+
cp WebService-Hexonet-Connector-v"$1".tar.gz WebService-Hexonet-Connector-latest.tar.gz
5+
cp WebService-Hexonet-Connector-v"$1".tar.gz WebService-Hexonet-Connector.tar.gz

scripts/upload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
cpan-upload -u "$CPAN_USER" -p "$CPAN_PASSWORD" --md5 WebService-Hexonet-Connector-"$1".tar.gz
2+
cpan-upload -u "$CPAN_USER" -p "$CPAN_PASSWORD" --md5 WebService-Hexonet-Connector-v"$1".tar.gz

0 commit comments

Comments
 (0)