Skip to content

Commit b99a938

Browse files
authored
Merge pull request #569 from informatici/master
Update develop with latest release changes
2 parents eb8249f + 8bd7e95 commit b99a938

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.github/workflows/maven.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33

44
name: Java CI with Maven
55

6-
on: [push, pull_request]
6+
on:
7+
push:
8+
branches:
9+
- '**'
10+
pull_request:
711

812
env:
913
MAVEN_ARGS: '-B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
@@ -27,8 +31,14 @@ jobs:
2731
- name: Determine PR source branch and fork repository
2832
id: vars
2933
run: |
34+
# Skip tag pushes entirely
35+
if [[ "$GITHUB_EVENT_NAME" == "push" && "$GITHUB_REF" != refs/heads/* ]]; then
36+
echo "Not a branch push ($GITHUB_REF). Exiting."
37+
exit 0
38+
fi
39+
3040
# Set default FORK_REPO and BRANCH_NAME values.
31-
BRANCH_NAME="${GITHUB_HEAD_REF:-${GITHUB_REF##*/}}"
41+
BRANCH_NAME="${GITHUB_HEAD_REF:-$GITHUB_REF_NAME}"
3242
3343
if [[ "$GITHUB_EVENT_NAME" == "push" && "$GITHUB_REPOSITORY" == "informatici/openhospital-api" ]]; then
3444
# For pushes to the main repository, default to the main core repo

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<properties>
2020
<packaging.type>jar</packaging.type>
21-
<oh-core.version>1.14.2-SNAPSHOT</oh-core.version>
21+
<oh-core.version>1.15.0</oh-core.version>
2222
<java.version>17</java.version>
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424
<license.maven.plugin.version>5.0.0</license.maven.plugin.version>

rsc/log4j2-spring.properties.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ appender.console.layout.pattern = [%d{dd/MMM/yyyy HH:mm:ss}] [%X{OHUserGroup}:%X
1313
# File Appender (with classes), daily rotation
1414
appender.rolling.type = RollingFile
1515
appender.rolling.name = RollingFile
16-
appender.rolling.fileName= LOG_DEST/openhospital.log
17-
appender.rolling.filePattern= LOG_DEST/openhospital.log.%d{yyyy-MM-dd}
16+
appender.rolling.fileName= LOG_DEST
17+
appender.rolling.filePattern= LOG_DEST.%d{yyyy-MM-dd}
1818
appender.rolling.layout.type = PatternLayout
1919
appender.rolling.layout.pattern = [%d{dd/MMM/yyyy HH:mm:ss}] [%X{OHUserGroup}:%X{OHUser}] %-p - %m (%l)%n
2020
appender.rolling.policies.type = Policies

0 commit comments

Comments
 (0)