Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
archlinux-packages
ci-cd
Commits
e4fffba2
Commit
e4fffba2
authored
Jul 01, 2020
by
Justin Kromlinger
Browse files
Fix test usage and cut field index
parent
194a38f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
github-packages.yml
View file @
e4fffba2
...
...
@@ -61,9 +61,9 @@ new_pkgver:
-
grep -q "pkgrel=1" PKGBUILD
-
source ./PKGBUILD
-
'
echo
"New
version:
${new_pkgver}"'
-
'
if
[
"${source[0]}"
==
*::*
];
then
-
'
if
[
[
"${source[0]}"
==
*::*
]
];
then
source_url="$(echo
"${source[0]}"
|
sed
"s/^.*:://")";
filename="$(echo
"${source[0]}"
|
cut
-d:
-f
0
)";
filename="$(echo
"${source[0]}"
|
cut
-d:
-f
1
)";
else
source_url="${source[0]}";
filename="$(echo
"$source_url"
|
rev
|
cut
-d/
-f1
|
rev)";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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