Compare commits

...

2 Commits
v0.6.2 ... main

Author SHA1 Message Date
DataHearth 06d09e1be6
chore(ci): use new runner image label
build / Build and test (push) Successful in 35s Details
2023-07-18 14:10:14 +02:00
DataHearth 9ab934eb4d
chore(process): update justfile
build / Build and test (push) Successful in 10m10s Details
2023-07-18 11:04:52 +02:00
4 changed files with 14 additions and 24 deletions

View File

@ -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 ./...

View File

@ -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 ./...

View File

@ -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.

View File

@ -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