Merge branch 'main' of git.mmk2410.org:deb/intellij-idea-ultimate
This commit is contained in:
commit
5e9e610422
1 changed files with 25 additions and 0 deletions
25
.gitlab-ci.yml
Normal file
25
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
default:
|
||||||
|
image: ubuntu:impish
|
||||||
|
|
||||||
|
variables:
|
||||||
|
PACKAGE: "intellij-idea-ultimate"
|
||||||
|
TZ: UTC
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
build-job:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- apt update && apt install -y git devscripts debhelper
|
||||||
|
- export VERSION=$(git describe --abbrev=0 --tags | cut -d'v' -f2)
|
||||||
|
- cd "$PACKAGE"_"$VERSION" || exit
|
||||||
|
- debuild -us -uc
|
||||||
|
- export PACKAGE_FILE="$PACKAGE"_"$VERSION"-1_all.deb
|
||||||
|
artifacts:
|
||||||
|
name: $PACKAGE_FILE
|
||||||
|
paths:
|
||||||
|
- ./*.deb
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG
|
Loading…
Reference in a new issue