Skip to content

Commit f00e7ed

Browse files
committed
version update fix
1 parent ea169a2 commit f00e7ed

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1
1414
],
1515
"stdout": "${output_txt}",
16-
"program": "java -jar \"${action_path}/net.pdfix.validate-pdf-v0.0.0.jar\" duplicate-mcid -i \"${input_pdf}\"",
16+
"program": "java -jar \"${action_path}/net.pdfix.validate-pdf-0.0.0.jar\" duplicate-mcid -i \"${input_pdf}\"",
1717
"args": [
1818
{
1919
"name": "input_pdf",

update_version.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ mvn versions:set -DnewVersion=${version_short}
2828

2929
# Replace "v0.0.0" placeholder with the provided argument in config.json
3030
sed -i "s|v0.0.0|$1|g" config.json
31-
# Replace "{version}" with the provided argument in config.json
32-
sed -i "s|{version}|$1|g" config.json
31+
sed -i "s|0.0.0|$version_short|g" config.json
3332

3433
echo "Replaced all occurrences of 'latest' with '$1' in config.json."

0 commit comments

Comments
 (0)