This is an automated email from the ASF dual-hosted git repository. sciabarracom pushed a commit to tag v0.9.0-PRE4 in repository https://gitbox.apache.org/repos/asf/openserverless.git
commit 739a3e768898b45f7c2f7703c1f56b0deaacd317 Author: Trustable User <[email protected]> AuthorDate: Sun Jul 19 10:18:39 2026 +0200 transform to create a versioned dir --- README.md | 14 ++++++-------- Taskfile.yml | 10 ++++++++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 16e59f7..48742ca 100644 --- a/README.md +++ b/README.md @@ -11,24 +11,22 @@ Welcome to [Apache OpenServerless](https://openserverless.apache.org), an incub # Build and test from sources > [!WARNING] -> Building from the latest sources in git is **not recommended for production use**. The `main` branch may contain unstable, untested, or incomplete changes. For production deployments, use an official release tarball instead. There are no Apache Software Foundation approved releases yet. +> Building from the latest sources in git is **not recommended for production use**. The `main` branch may contain unstable, untested, or incomplete changes. For production deployments, use an official release tarball instead. -Download a releases tarball from the Apache distribution and untar it: +Download a releases tarball from the Apache distribution, untar and cd to it: ``` tar xzvf openseerverless-<version>.tar.gz +cd openserverless-<version> ``` -or clone all the latest sources with: +or clone the latest sources from the `main` branch or a release branch: ``` -git clone https://github.com/apache/openserverless --recurse-submodules +git clone --branch <branch> https://github.com/apache/openserverless --recurse-submodules +cd openserverless ``` -then change the directory with: - -`cd openserverless` - You can then build and test as follows. # Linux diff --git a/Taskfile.yml b/Taskfile.yml index 5897274..70d8351 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -258,6 +258,12 @@ tasks: requires: vars: [ V ] cmds: + - git tag "v{{.V}}" - echo "v{{.V}}" >RELEASE - - tar -C .. --exclude='.git' -czvf ../openserverless-v{{.V}}.tar.gz openserverless - - git tag "v{{.V}}" && git push --tags + - > + {{if eq OS "darwin"}}gtar{{else}}tar{{end}} + -C .. --exclude='.git' + --transform 's,^openserverless,openserverless-v{{.V}},' + -czvf ../openserverless-v{{.V}}.tar.gz + openserverless + - git push --tags
