diff options
| author | Albin <albin@mullvad.net> | 2023-10-18 13:09:11 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2023-10-19 20:53:55 +0200 |
| commit | fd722d90b520ce8e87ce4f4366297de10b2b5ffe (patch) | |
| tree | 85e72d3f0da0effc608e054fcf452e18710c337d | |
| parent | 437dc5be55f6945f137d3a74cdd0ac825e47f2e1 (diff) | |
| download | mullvadvpn-fd722d90b520ce8e87ce4f4366297de10b2b5ffe.tar.xz mullvadvpn-fd722d90b520ce8e87ce4f4366297de10b2b5ffe.zip | |
Fix tag formatting in artifact names
This fix changes from removing dissallowed tag
characters to instead replace them with a hyphen.
| -rwxr-xr-x | ci/buildserver-build-android.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/buildserver-build-android.sh b/ci/buildserver-build-android.sh index 6e3ee91ef0..25713f63da 100755 --- a/ci/buildserver-build-android.sh +++ b/ci/buildserver-build-android.sh @@ -97,8 +97,8 @@ function build_ref { # If there is a tag for this commit then we append that to the produced artifacts # A version suffix should only be created if there is a tag for this commit and it is not a release build if [[ -n "$tag" ]]; then - # Remove disallowed version characters from the tag - version_suffix="+${tag//[^0-9a-z_-]/}" + # Replace disallowed version characters in the tag with hyphens + version_suffix="+${tag//[^0-9a-z_-]/-}" # Will only match paths that include *-dev-* which means release builds will not be included # Pipes all matching names and their new name to mv pushd "$artifact_dir" |
