Skip to content

Update plugin version to 2.2.6 #70

Update plugin version to 2.2.6

Update plugin version to 2.2.6 #70

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: πŸš€ Publish TapsellPlus Unity Release TAG
# Controls when the workflow will run
on: push
jobs:
build:
name: βš™οΈ Release
runs-on: ubuntu-latest
steps:
- name: πŸ› οΈ Get Current Date
id: date
run: |
echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: πŸ”ƒ Checkout branch "master"
uses: actions/checkout@v3
with:
ref: 'master'
- name: πŸ”– Get Unity Version
id: version
run: |
TAG_VERSION=$(cat ProjectSettings/ProjectSettings.asset | grep "bundleVersion:.*" | awk '{ print $2}')
echo "$TAG_VERSION"
echo "::set-output name=tag_name::v${TAG_VERSION}"
echo "::set-output name=release_name::TapsellPlusUnity-v${TAG_VERSION:-Package}"
- name: πŸ“’ Prepare Release Notes
id: release_notes
run: |
awk '/^# / {s++} s == 1 {print}' CHANGELOG.md > /tmp/release_notes.md
echo "::set-output name=path::/tmp/release_notes.md"
- name: πŸ›ŽοΈ Create Release + TAG
id: release-snapshot
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.tag_name }}
name: ${{ steps.version.outputs.release_name }}
body: ${{ steps.date.outputs.date }}
body_path: ${{ steps.release_notes.outputs.path }}
target_commitish: ${{ github.sha }}
draft: false
prerelease: false
generate_release_notes: true
files: |
release/tapsell-plus-unity-*.unitypackage
CHANGELOG.md