Skip to content

Commit

Permalink
Leap Micro has different build numbers for isos and images
Browse files Browse the repository at this point in the history
The xml was merged into single one:
#208
The project contains the string ToTest, which is normally used in
Factory, but ToTest is also used for Leap Micro,  so the script
does not allow having different build numbers in the files.
  • Loading branch information
jlausuch committed Mar 26, 2023
1 parent 48ee7e5 commit da4b2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/rsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ set +e
continue
fi

if [[ "$environ" == *ToTest* ]]; then
if [[ "$environ" == *ToTest* ]] && [[ "$environ" != *Leap:Micro* ]]; then
if [[ "$environ" != *Factory* ]] && [[ "$environ" != *MicroOS* ]]; then
builds="$(grep -h -o -E 'Build[0-9](\.|[0-9]+)*[0-9]+' $subfolder/*.lst 2>/dev/null)" || :
else
Expand Down

0 comments on commit da4b2ab

Please sign in to comment.