Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
7438c6e9
Commit
7438c6e9
authored
Oct 12, 2023
by
me-no-dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix date parser in release script
parent
f3b59942
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
.github/scripts/on-release.sh
.github/scripts/on-release.sh
+2
-1
No files found.
.github/scripts/on-release.sh
View file @
7438c6e9
...
...
@@ -312,7 +312,8 @@ PACKAGE_JSON_TEMPLATE="$OUTPUT_DIR/package-$LIBS_PROJ_NAME.json"
## TEMP WORKAROUND FOR RV32 LONG PATH ON WINDOWS
##
RVTC_VERSION
=
`
cat
$PACKAGE_JSON_TEMPLATE
| jq
-r
".packages[0].platforms[0].toolsDependencies[] | select(.name ==
\"
$RVTC_NAME
\"
) | .version"
|
cut
-d
'_'
-f
2
`
RVTC_VERSION
=
`
date
-j
-f
'%Y%m%d'
"
$RVTC_VERSION
"
'+%y%m'
`
# RVTC_VERSION=`date -j -f '%Y%m%d' "$RVTC_VERSION" '+%y%m'` # MacOS
RVTC_VERSION
=
`
date
-d
"
$RVTC_VERSION
"
'+%y%m'
`
rvtc_jq_arg
=
"
\
(.packages[0].platforms[0].toolsDependencies[] | select(.name==
\"
$RVTC_NAME
\"
)).version =
\"
$RVTC_VERSION
\"
|
\
(.packages[0].platforms[0].toolsDependencies[] | select(.name==
\"
$RVTC_NAME
\"
)).name =
\"
$RVTC_NEW_NAME
\"
|
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment