Compare commits
No commits in common. "2002613109747ec8be7e055cec9262cd9d548127" and "707c2242de2a0aa7902ccff6ea2e04849d22db01" have entirely different histories.
2002613109
...
707c2242de
4 changed files with 59 additions and 11 deletions
58
.gitlab-ci.yml
Normal file
58
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
default:
|
||||||
|
image: debian:11
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- publish
|
||||||
|
- release
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
image: golang:1.21-alpine
|
||||||
|
before_script:
|
||||||
|
- apk update && apk add --no-cache make git
|
||||||
|
script:
|
||||||
|
- make build_password
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- ./bin/*
|
||||||
|
|
||||||
|
publish_main:
|
||||||
|
stage: publish
|
||||||
|
image: golang:1.21-alpine
|
||||||
|
variables:
|
||||||
|
VER: latest
|
||||||
|
before_script:
|
||||||
|
- apk update && apk add --no-cache make git curl
|
||||||
|
script:
|
||||||
|
- make publish_password
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
|
||||||
|
release_tag:
|
||||||
|
stage: publish
|
||||||
|
image: golang:1.21-alpine
|
||||||
|
variables:
|
||||||
|
VER: ${CI_COMMIT_TAG}
|
||||||
|
before_script:
|
||||||
|
- apk update && apk add --no-cache make git curl
|
||||||
|
script:
|
||||||
|
- make publish_password
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
|
||||||
|
release_job:
|
||||||
|
stage: release
|
||||||
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG
|
||||||
|
before_script:
|
||||||
|
- apk update && apk add --no-cache bash curl
|
||||||
|
script:
|
||||||
|
- bash ./scripts/gitlab_release.sh -r ./docs/release/$CI_COMMIT_TAG* -a ./bin/
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
|
|
@ -4,7 +4,7 @@ Some tools use and dev for h6n, many are in shell/bash could be use in other pro
|
||||||
|
|
||||||
## Version
|
## Version
|
||||||
|
|
||||||
v1.3.0: Xavier
|
v1.2.0: Valentin
|
||||||
|
|
||||||
## release script
|
## release script
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,4 @@ The naming policy is based on first names for this project.
|
||||||
|
|
||||||
## Release list
|
## Release list
|
||||||
|
|
||||||
- [v1.3.0 Xavier](./release/v1.3.0_xavier.md)
|
|
||||||
- [v1.2.0 Valentin](./release/v1.2.0_valentin.md)
|
|
||||||
- [v1.0.0 Damian](./release/v1.0.0_damian.md)
|
- [v1.0.0 Damian](./release/v1.0.0_damian.md)
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
# Xavier v1.3.0
|
|
||||||
|
|
||||||
## Release feature
|
|
||||||
|
|
||||||
- update readme
|
|
||||||
- update script
|
|
||||||
- add ci for forgejo
|
|
||||||
- clean old ci
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue