Skip to content

Commit d39619f

Browse files
committed
Update version to v0.19.0
1 parent b7093aa commit d39619f

File tree

5 files changed

+58
-38
lines changed

5 files changed

+58
-38
lines changed

.github/workflows/releaseDeploy.yml

Lines changed: 27 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout code
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525

2626
- name: Update all submodules
2727
run: |
@@ -72,55 +72,49 @@ jobs:
7272

7373
- name: Upload build artifact (Windows)
7474
if: matrix.os == 'windows-latest'
75-
uses: actions/upload-artifact@v3
75+
uses: actions/upload-artifact@v4
7676
with:
7777
name: ${{ matrix.artifact-name }}
7878
path: ${{github.workspace}}/build/RAYX-*-win64.zip
79-
79+
if-no-files-found: error
80+
8081
- name: Upload build artifact (Ubuntu)
8182
if: matrix.os == 'ubuntu-latest'
82-
uses: actions/upload-artifact@v3
83+
uses: actions/upload-artifact@v4
8384
with:
8485
name: ${{ matrix.artifact-name }}
8586
path: ${{github.workspace}}/build/RAYX-*-Linux.deb
87+
if-no-files-found: error
8688

87-
create-release:
89+
release:
90+
name: Create Release
8891
needs: build-and-release
8992
runs-on: ubuntu-latest
9093
steps:
94+
# Checkout CHANGELOG.md
95+
- name: Checkout code
96+
uses: actions/checkout@v4
97+
with:
98+
sparse-checkout: CHANGELOG.md
99+
91100
- name: Download Artifacts
92-
uses: actions/download-artifact@v3
101+
uses: actions/download-artifact@v4
93102
with:
94103
path: ${{github.workspace}}/artifacts
95104

96-
- name: Create Release
97-
id: create_release
98-
uses: actions/create-release@v1
99-
env:
100-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105+
- name: Extract version from tag
106+
id: get_version
107+
run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
108+
109+
- name: Create and Upload Release
110+
uses: softprops/action-gh-release@v1
111+
if: startsWith(github.ref, 'refs/tags/')
101112
with:
102-
tag_name: ${{ github.ref_name }}
103-
release_name: Release ${{ github.ref_name }}
104-
body: This will be updated soon...
105-
draft: false
106-
prerelease: false
107-
108-
- name: Upload Artifact to Release (Windows)
109-
uses: actions/upload-release-asset@v1
113+
body_path: ${{github.workspace}}/CHANGELOG.md
114+
files: |
115+
${{github.workspace}}/artifacts/rayx-win64.zip/*.zip
116+
${{github.workspace}}/artifacts/rayx-Linux.deb/*.deb
110117
env:
111118
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112-
with:
113-
upload_url: ${{ steps.create_release.outputs.upload_url }}
114-
asset_path: ${{github.workspace}}/artifacts/rayx-win64.zip/rayx-win64.zip
115-
asset_name: rayx-win64.zip
116-
asset_content_type: application/zip
117119

118-
- name: Upload Artifact to Release (Ubuntu)
119-
uses: actions/upload-release-asset@v1
120-
env:
121-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
122-
with:
123-
upload_url: ${{ steps.create_release.outputs.upload_url }}
124-
asset_path: ${{github.workspace}}/artifacts/rayx-Linux.deb/rayx-Linux.deb
125-
asset_name: rayx-Linux.deb
126-
asset_content_type: application/x-deb
120+

.github/workflows/testUbuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Update all submodules
2020
run: |
@@ -47,7 +47,7 @@ jobs:
4747
run: cpack -G DEB
4848

4949
- name: Upload artifact
50-
uses: actions/upload-artifact@v3
50+
uses: actions/upload-artifact@v4
5151
with:
5252
name: RAYX
5353
path: ${{github.workspace}}/build/RAYX-*.*.*-Linux.deb

.github/workflows/testWindows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: windows-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Update all submodules
2020
run: |
@@ -49,7 +49,7 @@ jobs:
4949
cpack -G ZIP
5050
5151
- name: Upload artifact
52-
uses: actions/upload-artifact@v3
52+
uses: actions/upload-artifact@v4
5353
with:
5454
name: RAYX
5555
path: ${{github.workspace}}/build/RAYX-*.*.*-win64.zip

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Changes
2+
3+
- rayx-core:
4+
- Added optical elements
5+
- Paraboloid
6+
- Added light sources
7+
- Simple Undulator
8+
- Pixel Source
9+
- Dipole Source
10+
- Improved code consistency for optical elements and light sources
11+
- Improved test suite
12+
- Fixes for RZP tracing
13+
- rayx:
14+
- Added more options to customize the export of rays and speed up the tracing
15+
- Added option to choose GPU
16+
- Improved runtime by optimizing data handling
17+
- rayx-ui:
18+
- Added orthographic camera
19+
- Added footprints/heatmaps/histograms for simple optical elements
20+
- Changed default camera position and orientation
21+
- Jump to light source is possible now
22+
- Correctly render slits
23+
- Fixed positioning of light sources
24+
- Fixed triangulation bugs
25+
- Fixed general rendering bugs
26+
- General bugfixes and documentation updates

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
22

33
# ---- Project ----
4-
project(RAYX VERSION 0.19.3)
4+
project(RAYX VERSION 0.19.0)
55
set(CMAKE_CXX_STANDARD 20)
66
set(CMAKE_CXX_STANDARD_REQUIRED ON)
77
# -----------------

0 commit comments

Comments
 (0)