Skip to content

Commit

Permalink
Merge pull request #40 from saschpe/rel
Browse files Browse the repository at this point in the history
Release version 1.2.4
  • Loading branch information
saschpe authored Mar 23, 2024
2 parents 9109d6d + c0e73bc commit b662dea
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.2.4] - 2024-03-23
### Changed
- Allow empty log messages if you only want to create a log entry about a function being called.
- Add more Apple ARM64 platforms: macOS, tvOS, watchOS
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repositories {
}

dependencies {
implementation("de.peilicke.sascha:log4k:1.2.3")
implementation("de.peilicke.sascha:log4k:1.2.4")
}
```

Expand Down
2 changes: 1 addition & 1 deletion log4k-slf4j/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ android {
}

group = "de.peilicke.sascha"
version = "1.2.3"
version = "1.2.4"

publishing {
publications.withType<MavenPublication> {
Expand Down
2 changes: 1 addition & 1 deletion log4k/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ android {
}

group = "de.peilicke.sascha"
version = "1.2.3"
version = "1.2.4"

publishing {
publications.withType<MavenPublication> {
Expand Down
11 changes: 4 additions & 7 deletions scripts/inc.functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,10 @@ safe() {
}

sed2() {
_args=$(echo "${@}" | cut -d" " -f2-)
sed -i'.bak' "$1" "${_args}"
for file in ${_args}; do
cmd="${1}"
shift
sed -i'.bak' "${cmd}" "${@}"
for file in "${@}"; do
rm "${file}.bak"
done
}

get_version_name() {
grep "version = " "$1" | xargs | cut -d"=" -f2
}
4 changes: 4 additions & 0 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ function version_gt() {
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"
}

get_version_name() {
grep "version = " "$1" | cut -d"=" -f2 | xargs
}

# Checks
if [[ $# -ne 1 ]]; then
usage
Expand Down

0 comments on commit b662dea

Please sign in to comment.