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 v1.5.2 #29

Merged
merged 3 commits into from
May 28, 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
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ jobs:
# and modify them (or add more) to build your code if your project
# uses a compiled language

- name: Set up JDK 16
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '16'
java-version: '21'
distribution: 'adopt'
cache: maven
- name: Build with Maven
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven-publish-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '16'
java-version: '21'
distribution: 'adopt'
cache: maven
server-id: ossrh
Expand All @@ -28,7 +28,7 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
- name: Test and Publish Package to Apache Maven Central
run: mvn clean deploy -P release-version
run: mvn -B release:clean release:prepare release:perform
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-publish-snapshot-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '16'
java-version: '21'
distribution: 'adopt'
cache: maven
server-id: ossrh
Expand Down
53 changes: 26 additions & 27 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,39 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.beanbeanjuice</groupId>
<artifactId>cafe-api-wrapper</artifactId>
<version>${version.number.final}</version>
<version>1.5.2-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
<maven.compiler.source>16</maven.compiler.source>
<maven.compiler.target>16</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<version.number>1.5.0</version.number>
</properties>

<profiles>
<profile>
<id>snapshot-version</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>

<properties>
<version.number.final>${version.number}-SNAPSHOT</version.number.final>
</properties>
</profile>

<profile>
<id>release-version</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>

<properties>
<version.number.final>${version.number}</version.number.final>
</properties>
</profile>
</profiles>
<!-- <profiles>-->
<!-- <profile>-->
<!-- <id>snapshot-version</id>-->
<!-- <activation>-->
<!-- <activeByDefault>true</activeByDefault>-->
<!-- </activation>-->

<!-- <build>-->
<!-- <finalName>${artifactId}-${version}-SNAPSHOT</finalName>-->
<!-- </build>-->
<!-- </profile>-->

<!-- <profile>-->
<!-- <id>release-version</id>-->
<!-- <activation>-->
<!-- <activeByDefault>false</activeByDefault>-->
<!-- </activation>-->

<!-- <build>-->
<!-- <finalName>${artifactId}-${version}</finalName>-->
<!-- </build>-->
<!-- </profile>-->
<!-- </profiles>-->

<name>cafe-api-wrapper</name>
<description>An API Wrapper for the Cafe API</description>
Expand Down
Loading