Browse Source

Increase template version to v1.0.0. Fixes building on Mac.

master
Abe Pazos 2 years ago
committed by Edwin Jakobs
parent
commit
2e9da10d4d
  1. 2
      .github/workflows/publish-binaries-linux-x64.yaml
  2. 2
      .github/workflows/publish-binaries-macos.yaml
  3. 2
      .github/workflows/publish-binaries-windows.yaml
  4. 21
      README.md
  5. 2
      build.gradle.kts

2
.github/workflows/publish-binaries-linux-x64.yaml

@ -3,8 +3,6 @@ name: Publish Linux/x64 binaries
on:
push:
tags:
- v0.*
- v0.*.*
- v1.*
- v1.*.*

2
.github/workflows/publish-binaries-macos.yaml

@ -3,8 +3,6 @@ name: Publish macOS binaries
on:
push:
tags:
- v0.*
- v0.*.*
- v1.*
- v1.*.*

2
.github/workflows/publish-binaries-windows.yaml

@ -3,8 +3,6 @@ name: Publish Windows binaries
on:
push:
tags:
- v0.*
- v0.*.*
- v1.*
- v1.*.*

21
README.md

@ -30,7 +30,7 @@ Newer versions of OPENRNDR and ORX bring useful features and bug fixes. The most
You can use those version numbers in your toml file. They can look like "0.4.3" or "0.4.3-alpha4". Use the complete string, as in:
openrndr = "0.4.3-alpha4"
orx = "0.4.3-alpha3"
orx = "0.4.3-alpha4"
You can add other dependencies needed by your project to your [build.gradle.kts](build.gradle.kts) file, inside the `dependencies { }` block.
@ -50,6 +50,19 @@ To run `src/main/kotlin/foo/bar/myProgram.kt` (assuming `package foo.bar` in myP
## Github Actions
This repository contains a number of Github Actions in `./github/workflows`.
The actions enable a basic build run on commit, plus publication actions that are executed when
a commit is tagged with a version number like `v0.*` or `v1.*`.
This repository contains a number of Github Actions under `./github/workflows`.
[.github/build-on-commit.yaml](build-on-commit.yaml) runs a basic build on every commit,
which can help detect issues in the source code.
[.github/publish-binaries.yaml](publish-binaries.yaml) publishes binaries for Linux, Mac and Windows
any time a commit is tagged with a version number like `v1.*`.
For example, we can create and push a tag with these git commands:
git tag -a v1.0.0 -m "v1.0.0"
git push origin v1.0.0
The progress of the running actions can be followed under the Actions tab in GitHub.
Once complete, the executables will be found under the Releases section.

2
build.gradle.kts

@ -4,7 +4,7 @@ import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
group = "org.openrndr.template"
version = "0.4.0"
version = "1.0.0"
val applicationMainClass = "TemplateProgramKt"

Loading…
Cancel
Save