File tree Expand file tree Collapse file tree 7 files changed +14
-6
lines changed Expand file tree Collapse file tree 7 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
+ # yamllint disable rule:line-length
2
3
name : Push new tagged version
3
4
on : # yamllint disable-line rule:truthy
4
5
workflow_dispatch :
Original file line number Diff line number Diff line change 1
-
1
+ ---
2
2
# yamllint disable rule:line-length
3
3
name : Push tag to extension
4
4
on : # yamllint disable-line rule:truthy
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- CC_WRAPPER_VERSION=" 0.0.22 "
2
+ CC_WRAPPER_VERSION=" 0.0.23 "
3
3
set +u
4
4
say () {
5
5
echo -e " $1 "
80
80
say " $g ->$x Downloading $b ${cc_url} $x "
81
81
curl -Os $cc_url
82
82
say " $g ==>$x Finishing downloading $b ${cc_os} :${CC_VERSION} $x "
83
+ version_url=" https://cli.codecov.io/${cc_os} /${CC_VERSION} "
84
+ version=$( curl -s $version_url -H " Accept:application/json" | jq -r ' .version' )
85
+ say " Version: $b$version$x "
83
86
say " "
84
87
fi
85
88
if [ " $CC_SKIP_VALIDATION " = " true" ] || [ -n " $CC_BINARY " ];
86
89
then
87
90
say " $r ==>$x Bypassing validation as requested by user"
88
91
else
89
- CC_PUBLIC_PGP_KEY=$( curl https://keybase.io/codecovsecurity/pgp_keys.asc)
92
+ CC_PUBLIC_PGP_KEY=$( curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
90
93
echo " ${CC_PUBLIC_PGP_KEY} " | \
91
94
gpg --no-default-keyring --import
92
95
# One-time step
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
+ yamllint .
5
6
python package.py
6
7
git add dist/codecov.sh
7
8
git add env
Original file line number Diff line number Diff line change 40
40
codecov_url=" $codecov_url /${codecov_os} /${codecov_filename} "
41
41
say " $g ->$x Downloading $b ${codecov_url} $x "
42
42
curl -Os $codecov_url
43
-
44
43
say " $g ==>$x Finishing downloading $b ${codecov_os} :${CODECOV_VERSION} $x "
44
+
45
+ version_url=" https://cli.codecov.io/${codecov_os} /${CODECOV_VERSION} "
46
+ version=$( curl -s $version_url -H " Accept:application/json" | jq -r ' .version' )
47
+ say " Version: $b$version$x "
45
48
say " "
46
49
fi
Original file line number Diff line number Diff line change 1
- CODECOV_PUBLIC_PGP_KEY=$( curl https://keybase.io/codecovsecurity/pgp_keys.asc)
1
+ CODECOV_PUBLIC_PGP_KEY=$( curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- CODECOV_WRAPPER_VERSION=" 0.0.22 "
2
+ CODECOV_WRAPPER_VERSION=" 0.0.23 "
You can’t perform that action at this time.
0 commit comments