Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hey Alter
heyalter-ubuntu-iso
Commits
53081fbb
Commit
53081fbb
authored
Apr 22, 2022
by
Sven
Browse files
fixed env script
parent
f021470d
Pipeline
#2331
failed with stage
in 11 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scripts/env.sh
View file @
53081fbb
...
...
@@ -10,9 +10,15 @@ fi
cd
..
# define variables
[[
!
-v
CI_COMMIT_SHORT_SHA
]]
;
CI_COMMIT_SHORT_SHA
=
"
$(
git rev-parse
--short
HEAD
)
"
[[
!
-v
CI_COMMIT_REF_NAME
]]
;
CI_COMMIT_REF_NAME
=
"
$(
git branch
--show-current
)
"
[[
!
-v
CI_PIPELINE_IID
]]
;
CI_PIPELINE_IID
=
localbuild
if
[[
!
-v
CI_COMMIT_SHORT_SHA
]]
;
then
export
CI_COMMIT_SHORT_SHA
=
"
$(
git rev-parse
--short
HEAD
)
"
fi
if
[[
!
-v
CI_COMMIT_REF_NAME
]]
;
then
export
CI_COMMIT_REF_NAME
=
"
$(
git branch
--show-current
)
"
fi
if
[[
!
-v
CI_PIPELINE_IID
]]
;
then
export
CI_PIPELINE_IID
=
localbuild
fi
DOWNLOAD_URL
=
"https://releases.ubuntu.com/22.04/ubuntu-22.04-desktop-amd64.iso"
BUILD_DIR
=
"
$(
pwd
)
/build"
ISO_EXTRACTED_DIR
=
"
$BUILD_DIR
/extracted-iso"
...
...
Write
Preview
Supports
Markdown
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