From b5ab9aad2dadb7635564938b828ab19b8d44a827 Mon Sep 17 00:00:00 2001
From: CakeLancelot
Date: Tue, 2 Apr 2024 05:12:41 -0500
Subject: [PATCH] Bump copyright date to 2024 and version to 1.5.2; update
build.yml
---
.github/workflows/build.yml | 14 +++++++-------
build/OpenFusionClient.exe.manifest | 2 +-
index.html | 2 +-
package-lock.json | 4 ++--
package.json | 2 +-
5 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2b47640..506bb38 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -3,6 +3,7 @@ name: Publish Build
on:
push:
branches: [ "main" ]
+ tags: '*'
permissions:
contents: write
@@ -12,9 +13,11 @@ jobs:
runs-on: windows-2022
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Set up Node.js 20.x
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
@@ -28,20 +31,17 @@ jobs:
path: dist
publish-release:
- if: startsWith(github.ref, 'refs/tags/v')
+ if: contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@master
- - name: Unzip artifact
- run: unzip artifact.zip
- name: Create release
uses: ncipollo/release-action@v1
with:
- artifacts: "*-ia32-win.zip,*.exe"
+ artifacts: "artifact/*-ia32-win.zip,artifact/*.exe"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
diff --git a/build/OpenFusionClient.exe.manifest b/build/OpenFusionClient.exe.manifest
index 9fecf7e..4f3cbb3 100644
--- a/build/OpenFusionClient.exe.manifest
+++ b/build/OpenFusionClient.exe.manifest
@@ -1,6 +1,6 @@
-
+
diff --git a/index.html b/index.html
index ece80d9..1e7ee1e 100644
--- a/index.html
+++ b/index.html
@@ -149,7 +149,7 @@
APP_VERSION_NUMBER
- ©2020-2023 OpenFusion Contributors
OpenFusion
+ ©2020-2024 OpenFusion Contributors
OpenFusion
is licensed under MIT.