Skip to content

Commit aa822ad

Browse files
committed
0.11.3 release
This sports @sebshader's new _canvasdir member variable, giving pdlua scripts access to the directory of the canvas where a pdlua object lives. Please check examples/paths-example for details. Also, the github CI/CD configuration was updated in order to automate releases, so that we can release (more) early and often now.
1 parent 219294e commit aa822ad

1 file changed

Lines changed: 14 additions & 18 deletions

File tree

.github/workflows/makefile.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Makefile CI
33
on:
44
push:
55
branches: [ master ]
6+
tags: [ '*' ]
67
pull_request:
78
branches: [ master ]
89

@@ -32,14 +33,6 @@ jobs:
3233
name: pdlua-ubuntu
3334
path: build
3435

35-
- name: release
36-
uses: softprops/action-gh-release@v1
37-
if: startsWith(github.ref, 'refs/tags/')
38-
with:
39-
prerelease: true
40-
draft: true
41-
files: pdlua-ubuntu
42-
4336
macos-build:
4437

4538
runs-on: macos-latest
@@ -67,14 +60,6 @@ jobs:
6760
name: pdlua-macos
6861
path: build
6962

70-
- name: release
71-
uses: softprops/action-gh-release@v1
72-
if: startsWith(github.ref, 'refs/tags/')
73-
with:
74-
prerelease: true
75-
draft: true
76-
files: pdlua-macos
77-
7863
windows-build:
7964

8065
runs-on: windows-2022
@@ -104,10 +89,21 @@ jobs:
10489
name: pdlua-windows
10590
path: build
10691

92+
# Big thanks to @tomara-x and @timothyschoen for showing me how to do this! -ag
93+
94+
release:
95+
if: startsWith(github.ref, 'refs/tags/')
96+
runs-on: ubuntu-latest
97+
needs: [ubuntu-build, macos-build, windows-build]
98+
steps:
99+
- uses: actions/download-artifact@v3
100+
- name: ziptie
101+
run: |
102+
mkdir dist
103+
for x in pdlua-*; do (cd $x && zip -r ../dist/$x.zip pdlua/); done
107104
- name: release
108105
uses: softprops/action-gh-release@v1
109-
if: startsWith(github.ref, 'refs/tags/')
110106
with:
111107
prerelease: true
112108
draft: true
113-
files: pdlua-windows
109+
files: dist/*.zip

0 commit comments

Comments
 (0)