Skip to content
Snippets Groups Projects
Commit bfdcabaa authored by Wumbo's avatar Wumbo
Browse files

Initial commit

parents
Branches master
No related merge requests found
Pipeline #1034 passed with stages
in 1 minute and 15 seconds
variables:
COMPONENT_NAME: "theme-millennium"
NEXUS_REPO: "components"
META_NAME: "Millennium"
META_DESCRIPTION: "Makes the launcher look like a Windows 2000 application."
include:
- project: 'flashpoint/docker/nexus-deploy-action'
ref: main
file: '/docker-build.gitlab-ci.yml'
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
deploy:
stage: build
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script: |
COMP_FILE=${COMPONENT_NAME}.zip
COMP_JSON=${COMPONENT_NAME}.json
zip -r $COMP_FILE ./ -x "./.**"
jq --null-input \
--arg name "$META_NAME" \
--arg desc "$META_DESCRIPTION" \
--arg date $(date +%s) \
--arg download $(du -b $COMP_FILE | awk '{print $1}') \
--arg install $(7z l $COMP_FILE | tail -n 1 | awk '{print $3}') \
--arg path "Data/Themes" \
--arg hash $(crc32 $COMP_FILE) \
'{
"title": $name,
"description": $desc,
"date-modified": $date,
"download-size": $download,
"install-size": $install,
"path": $path,
"crc32": $hash
}' > $COMP_JSON
zip artifact.zip $COMP_FILE $COMP_JSON
artifacts:
paths:
- artifact.zip
Millennium/img/check.png

105 B

Millennium/img/cross.png

98 B

Millennium/img/down.png

98 B

Millennium/img/img_preview_bg.png

89 B

Millennium/img/left.png

92 B

Millennium/img/max.png

89 B

Millennium/img/min.png

76 B

Millennium/img/radio.png

207 B

Millennium/img/radio_check.png

82 B

Millennium/img/right.png

96 B

Millennium/img/scrollbar_track_bg.png

142 B

Millennium/img/up.png

94 B

This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment