chore(process): update justfile
build / Build and test (push) Successful in 10m10s
Details
build / Build and test (push) Successful in 10m10s
Details
This commit is contained in:
parent
c61a8e4a4d
commit
9ab934eb4d
|
@ -1,7 +1,7 @@
|
||||||
# config-mapper
|
# config-mapper
|
||||||
|
|
||||||
[![License](https://img.shields.io/badge/license-MIT-blue)](https://gitea.antoine-langlois.net/DataHearth/config-mapper/src/branch/main/LICENSE)
|
[![License](https://img.shields.io/badge/license-MIT-blue)](https://gitea.antoine-langlois.net/DataHearth/config-mapper/src/branch/main/LICENSE)
|
||||||
[![Version](https://img.shields.io/badge/version-v0.6.1-blue)](https://gitea.antoine-langlois.net/DataHearth/config-mapper/tags)
|
[![Version](https://img.shields.io/badge/version-v0.6.2-blue)](https://gitea.antoine-langlois.net/DataHearth/config-mapper/tags)
|
||||||
|
|
||||||
`config-mapper` is CLI utility tool to help you manage your configuration between UNIX systems.
|
`config-mapper` is CLI utility tool to help you manage your configuration between UNIX systems.
|
||||||
It provides a set of tools to load your configuration from a system, save it into a git repository and then save it to a new system. This configuration can be a set of files, folders or even dependencies.
|
It provides a set of tools to load your configuration from a system, save it into a git repository and then save it to a new system. This configuration can be a set of files, folders or even dependencies.
|
||||||
|
|
11
justfile
11
justfile
|
@ -1,12 +1,17 @@
|
||||||
set dotenv-load
|
set dotenv-load
|
||||||
set shell := ["zsh", "-uc"]
|
set shell := ["zsh", "-uc"]
|
||||||
|
|
||||||
|
latest-tag := `git describe --tags --abbrev=0`
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
publish version:
|
publish version: (bump-files-version version)
|
||||||
sd $(git describe --tags --abbrev=0) {{version}} cmd/cli.go
|
|
||||||
git-chglog --next-tag {{version}} --output CHANGELOG.md
|
git-chglog --next-tag {{version}} --output CHANGELOG.md
|
||||||
git add CHANGELOG.md cmd/cli.go && git commit -m "chore(changelog): release {{version}}"
|
git add CHANGELOG.md cmd/cli.go && git commit -m "chore(changelog): release {{version}}"
|
||||||
git tag -a {{version}} -m "{{version}}"
|
git tag -a {{version}} -m "{{version}}"
|
||||||
git push --follow-tags
|
git push --follow-tags
|
||||||
|
|
||||||
|
bump-files-version version:
|
||||||
|
sd {{latest-tag}} {{version}} cmd/cli.go
|
||||||
|
sd {{latest-tag}} "version-{{version}}-blue" CHANGELOG.md
|
Reference in New Issue