mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Update Base.java alongside todo.txt (#887)
* Update Base.java alongside todo.txt [skip ci] * Update step name [skip ci]
This commit is contained in:
@@ -93,9 +93,10 @@ jobs:
|
||||
architecture: ${{ matrix.arch }}
|
||||
- name: Setup Ant
|
||||
uses: cedx/setup-ant@v3
|
||||
- name: Write to todo.txt
|
||||
- name: Write build_number and revision to todo.txt and Base.java
|
||||
run: |
|
||||
echo "${{ needs.version.outputs.build_number }} (${{ needs.version.outputs.version }})" > todo.txt
|
||||
perl -pi -e 's/static private final int REVISION = \d+;/static private final int REVISION = ${{ needs.version.outputs.build_number }};/g; s/static private String VERSION_NAME = "\d+";\s*\/\/\$NON-NLS-1\$/static private String VERSION_NAME = "${{ needs.version.outputs.build_number }}"; \/\/\$NON-NLS-1\$/g' app/src/processing/app/Base.java
|
||||
- name: Install Certificates for Code Signing
|
||||
if: ${{ matrix.os_prefix == 'macos' }}
|
||||
uses: apple-actions/import-codesign-certs@v3
|
||||
|
||||
Reference in New Issue
Block a user