From 1aa4d506c3ee28d726f61b35d633e7cd3fc51c20 Mon Sep 17 00:00:00 2001 From: Nao <35349837+naoei@users.noreply.github.com> Date: Sun, 10 Mar 2024 14:18:12 -0400 Subject: [PATCH 1/2] Create experimental release workflow --- .github/workflows/experimental-release.yml | 76 ++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 .github/workflows/experimental-release.yml diff --git a/.github/workflows/experimental-release.yml b/.github/workflows/experimental-release.yml new file mode 100644 index 00000000..00a69b21 --- /dev/null +++ b/.github/workflows/experimental-release.yml @@ -0,0 +1,76 @@ +name: Tagged Experimental Release +on: + push: + tags: ['*/experimental'] + +jobs: + build: + name: Build and Create Release + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Fetch all tags + run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + + - name: Get current tag + run: echo "CURRENT_TAG=$(git describe --abbrev=0 --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV + + - name: Install dependencies + run: dotnet restore + + - name: Build + run: dotnet build osu.Game.Rulesets.Tau --configuration Release -p:version=${{env.CURRENT_TAG}} --no-restore + + - name: Create Release + id: create_release + uses: actions/create-release@latest + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: ${{ github.ref }} + draft: true + prerelease: true + body: | + > [!IMPORTANT] + > This build is experimental and may not reflect any final changes towards production release. + > If you encounter any issues, please report them on our [issue tracker](https://github.com/taulazer/tau/issues/new?assignees=&labels=&projects=&template=bug-report.yml) + +
+ Installation + To install this ruleset just simply put this .DLL file onto your `osu/Rulesets` directory under `%appdata%`/. + osu!lazer will do the rest for you. +
+ +
+ Localisation + Localisations for this ruleset are available. If you want to help with translation efforts, please visit our [crowdin](https://crowdin.com/project/tau) page. + + ### Installing translations + Download the `Localisations.zip` included in this release and extract it to the same place as you would place the tau DLL (`%appdata%/osu/Rulesets`). + The file structure should look something like the following: + + - rulesets/ + - ar/ + - fr/ + - .../ + - osu.Game.Rulesets.Tau.dll +
+ + --- + + Have a feature to suggest? Or encountered a bug? Or just want to chat with people interested in tau? [Join the discord server](https://discord.gg/GZ9R9vjFNW)! + + - name: Upload Release Asset + id: upload-release-asset + uses: actions/upload-release-asset@master + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./osu.Game.Rulesets.Tau/bin/Release/net8.0/osu.Game.Rulesets.Tau.dll + asset_name: osu.Game.Rulesets.Tau.dll + asset_content_type: application/vnd.microsoft.portable-executable From 7e4c804355a420426dbf13af26c0d65597488f4d Mon Sep 17 00:00:00 2001 From: Nao <35349837+naoei@users.noreply.github.com> Date: Thu, 10 Oct 2024 22:28:50 -0400 Subject: [PATCH 2/2] Update experimental release dependencies --- .github/workflows/experimental-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/experimental-release.yml b/.github/workflows/experimental-release.yml index 00a69b21..88981f69 100644 --- a/.github/workflows/experimental-release.yml +++ b/.github/workflows/experimental-release.yml @@ -5,12 +5,12 @@ on: jobs: build: - name: Build and Create Release + name: Build and Create Experimental Release runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Fetch all tags run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*