Skip to content

Commit 0e2b916

Browse files
authored
Update release.yml
[skip ci]
1 parent 9dafc5e commit 0e2b916

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ jobs:
9696
- name: Write to todo.txt
9797
run: |
9898
echo "${{ needs.version.outputs.build_number }} (${{ needs.version.outputs.version }})" > todo.txt
99-
sed -i "s/static private final int REVISION = [0-9]\+;/static private final int REVISION = ${{ needs.version.outputs.build_number }};/" app/src/processing/app/Base.java
99+
100+
sed -i "" "s/static private final int REVISION = [0-9][0-9]*;/static private final int REVISION = ${{ needs.version.outputs.build_number }};/" app/src/processing/app/Base.java
101+
102+
sed -i "" 's/static private String VERSION_NAME = "[0-9]\+";\s*\/\/$NON-NLS-1$/static private String VERSION_NAME = "${{ needs.version.outputs.build_number }}"; \/\/$NON-NLS-1/' app/src/processing/app/Base.java
103+
100104
cat app/src/processing/app/Base.java
101105
- name: Install Certificates for Code Signing
102106
if: ${{ matrix.os_prefix == 'macos' }}

0 commit comments

Comments
 (0)