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 Workflow #46

Merged
merged 1 commit into from
Sep 29, 2022
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
8 changes: 5 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,9 +25,10 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Java Version [e.g. Open JDK 14]
- USE version

- OS: [e.g. iOS]
- Java Version [e.g. Open JDK 14]
- USE version

**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/version_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Update USE version
about: Template to update version after a release
title: 'Update USE version after release of ${{env.OLD_USE_VERSION}}'
assignees: ''
---

## Description

After the release of USE version ${{env.OLD_USE_VERSION}} it is tiome to change
the version to a new one. For this, please change the following files:

* ./pom.xml
* ./use-assembly/pom.xml
* ./use-core/pom.xml
* ./use-core/src/main/java/org/tzi/use/config/Options.java
* ./use-gui/pom.xml
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:

permissions:
contents: write
issues: write

steps:
- name: Checkout
Expand All @@ -34,3 +35,12 @@ jobs:
with:
artifacts: "use-assembly/target/*.zip"
generateReleaseNotes: true

- name: Create "Bump Version" Issue
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OLD_USE_VERSION: ${{github.ref_name}}
with:
filename: .github/ISSUE_TEMPLATE/version_update.md

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.tzi.use</groupId>
<artifactId>use</artifactId>
<packaging>pom</packaging>
<version>7.0-SNAPSHOT</version>
<version>7.0.1</version>
<modules>
<module>use-core</module>
<module>use-gui</module>
Expand Down
2 changes: 1 addition & 1 deletion use-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>use</artifactId>
<groupId>org.tzi.use</groupId>
<version>7.0-SNAPSHOT</version>
<version>7.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion use-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>use</artifactId>
<groupId>org.tzi.use</groupId>
<version>7.0-SNAPSHOT</version>
<version>7.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion use-core/src/main/java/org/tzi/use/config/Options.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
public class Options {

// the release version
public static final String RELEASE_VERSION = "7.0.0";
public static final String RELEASE_VERSION = "7.0.1";

// the copyright
public static final String COPYRIGHT = "Copyright (C) 1999-2021 University of Bremen";
Expand Down
2 changes: 1 addition & 1 deletion use-gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>use</artifactId>
<groupId>org.tzi.use</groupId>
<version>7.0-SNAPSHOT</version>
<version>7.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down