From 2e9da10d4d0318635e20f8176933e7fcd142fd92 Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Tue, 28 Mar 2023 22:36:47 +0200 Subject: [PATCH] Increase template version to v1.0.0. Fixes building on Mac. --- .../workflows/publish-binaries-linux-x64.yaml | 2 -- .github/workflows/publish-binaries-macos.yaml | 2 -- .../workflows/publish-binaries-windows.yaml | 2 -- README.md | 21 +++++++++++++++---- build.gradle.kts | 2 +- 5 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish-binaries-linux-x64.yaml b/.github/workflows/publish-binaries-linux-x64.yaml index c444cba..321a0ec 100644 --- a/.github/workflows/publish-binaries-linux-x64.yaml +++ b/.github/workflows/publish-binaries-linux-x64.yaml @@ -3,8 +3,6 @@ name: Publish Linux/x64 binaries on: push: tags: - - v0.* - - v0.*.* - v1.* - v1.*.* diff --git a/.github/workflows/publish-binaries-macos.yaml b/.github/workflows/publish-binaries-macos.yaml index 21bbbeb..9467618 100644 --- a/.github/workflows/publish-binaries-macos.yaml +++ b/.github/workflows/publish-binaries-macos.yaml @@ -3,8 +3,6 @@ name: Publish macOS binaries on: push: tags: - - v0.* - - v0.*.* - v1.* - v1.*.* diff --git a/.github/workflows/publish-binaries-windows.yaml b/.github/workflows/publish-binaries-windows.yaml index e9ddef2..44e54d1 100644 --- a/.github/workflows/publish-binaries-windows.yaml +++ b/.github/workflows/publish-binaries-windows.yaml @@ -3,8 +3,6 @@ name: Publish Windows binaries on: push: tags: - - v0.* - - v0.*.* - v1.* - v1.*.* diff --git a/README.md b/README.md index 50cbac3..1ed3a68 100644 --- a/README.md +++ b/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. + diff --git a/build.gradle.kts b/build.gradle.kts index 12398cf..ad65db3 100644 --- a/build.gradle.kts +++ b/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"