Skip to content

Commit

Permalink
Update build (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Aug 24, 2022
1 parent eba0313 commit 7fef23c
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/website.sh
Expand Up @@ -16,9 +16,9 @@ cp -R ../site joda-money/
echo "## update..."
git add -A
git status
git commit --message "Update joda-beans from CI: $GITHUB_ACTION"
git commit --message "Update joda-money from CI: $GITHUB_ACTION"

echo "## push..."
git push origin master
git push origin main

echo "## done"
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -7,9 +7,12 @@ on:
tags:
- 'v*'
- 'website*'
pull_request:
pull_request_target:
branches:
- 'master'
- '*'

permissions:
contents: read

jobs:
build:
Expand Down
24 changes: 22 additions & 2 deletions pom.xml
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.joda</groupId>
<artifactId>joda-parent</artifactId>
<version>1.4.0</version>
<version>1.4.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>joda-money</artifactId>
Expand Down Expand Up @@ -109,6 +109,26 @@
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
<!-- Enforce Maven 3.6.0 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.0</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -212,7 +232,7 @@
<joda-convert.version>2.2.2</joda-convert.version>
<junit.version>4.13.2</junit.version>
<!-- Plugins -->
<github-api.version>1.307</github-api.version>
<github-api.version>1.308</github-api.version>
<github-release-plugin.version>1.4.0</github-release-plugin.version>
<!-- Parent pom.xml control -->
<joda.osgi.packages>org.joda.money.*</joda.osgi.packages>
Expand Down
5 changes: 5 additions & 0 deletions src/changes/changes.xml
Expand Up @@ -8,6 +8,11 @@
<body>

<!-- types are add, fix, remove, update -->
<release version="1.0.3" date="SNAPSHOT" description="v1.0.3">
<action dev="jodastephen" type="update">
Switch master to main.
</action>
</release>
<release version="1.0.2" date="2022-08-14" description="v1.0.2">
<action dev="jodastephen" type="update">
Change currency SLL to SLE.
Expand Down

0 comments on commit 7fef23c

Please sign in to comment.