Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 1.2.4 #40

Merged
merged 2 commits into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading