Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
DataHearth | 06d09e1be6 | |
DataHearth | 9ab934eb4d |
|
@ -11,16 +11,11 @@ jobs:
|
|||
build:
|
||||
name: Build and test
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: debian-go
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20
|
||||
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
run: go build -v ./...
|
||||
|
|
|
@ -9,17 +9,12 @@ jobs:
|
|||
build:
|
||||
name: Build and test
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: debian-go
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
|
@ -27,7 +22,7 @@ jobs:
|
|||
name: Release
|
||||
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: debian-go
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -38,11 +33,6 @@ jobs:
|
|||
- name: Fetch tags
|
||||
run: git fetch --force --tags
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# config-mapper
|
||||
|
||||
[![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.
|
||||
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 shell := ["zsh", "-uc"]
|
||||
|
||||
latest-tag := `git describe --tags --abbrev=0`
|
||||
|
||||
default:
|
||||
@just --list
|
||||
|
||||
publish version:
|
||||
sd $(git describe --tags --abbrev=0) {{version}} cmd/cli.go
|
||||
publish version: (bump-files-version version)
|
||||
git-chglog --next-tag {{version}} --output CHANGELOG.md
|
||||
git add CHANGELOG.md cmd/cli.go && git commit -m "chore(changelog): release {{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