Skip to content

Fix issues with building for release #68

Fix issues with building for release

Fix issues with building for release #68

Workflow file for this run

on:
push:
tags:
- 'v*'
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
lfs: true
submodules: true
- name: Checkout submodules
shell: bash
run: |
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: "Import bot's GPG key for signing commits"
id: import-gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.ACTION_COMMIT_SING_PRIVATE_KEY }}
passphrase: ${{ secrets.ACTION_COMMIT_SING_PASS }}
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
- name: Extract commit data
uses: rlespinasse/[email protected]
- name: Get tag
shell: bash
run: |
git config --global user.name "Madman10K"
git config --global user.email "[email protected]"
git fetch --all
git submodule update --remote --merge --init --recursive
tag="${{ github.ref_name }}"
sed -i "s/set(UIMGUI_FRAMEWORK_VERSION.*/set(UIMGUI_FRAMEWORK_VERSION ${tag: 1})/g" Framework/cmake/Version.cmake
(git add . && git commit -m "Automatically bump version" && git push origin HEAD:master) || echo "Nothing to commit"
- name: Create archive
shell: bash
run: |
rm -rf .git/
tar cfJ untitled-imgui-framework.tar.xz . || echo "Might have failed"
- name: Create Release
uses: softprops/action-gh-release@v2
with:
body: |
Check our discord for patch notes: https://discord.gg/4kyWu2Vu
More on what is done this month can be found on the latest newsletter entry: https://madladsquad.com/#monthly-newsletter
draft: false
prerelease: false
files: untitled-imgui-framework.tar.xz
generate_release_notes: false