diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml new file mode 100644 index 0000000..f9da32d --- /dev/null +++ b/.github/workflows/Release.yml @@ -0,0 +1,34 @@ +name: Release.yml +on: + release: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup dotnet + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0.x' + - name: Install dependencies + run: dotnet restore + - name: Get Current Date Time + id: t1 + uses: Kaven-Universe/github-action-current-date-time@v1 + with: + format: "YYYY_MM_DD HH_mm_ss_SSS" + - name: Calculate Version + run: | + let "MINOR = ${{ steps.t1.outputs.month }} * 100 + ${{ steps.t1.outputs.day }}" + let "REVISION = ${{ steps.t1.outputs.seconds }}" + let "BUILD = ${{ steps.t1.outputs.hours }} * 100 + ${{ steps.t1.outputs.minutes }}" + let "MAJOR = ${{ steps.t1.outputs.year }} - 2000" + echo "$MAJOR.$MINOR.$BUILD.$REVISION" + echo "VERSION=$MAJOR.$MINOR.$BUILD.$REVISION" >> $GITHUB_ENV + - name: Create Nuget Package + run: dotnet pack -c Release -p:Version=$VERSION --output nupkgs + - name: Push nuget + run: dotnet nuget push nupkgs/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json + env: + NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }} \ No newline at end of file diff --git a/LlamaLibrary.csproj b/LlamaLibrary.csproj index ca28732..0ef9fee 100644 --- a/LlamaLibrary.csproj +++ b/LlamaLibrary.csproj @@ -5,13 +5,26 @@ true 10 enable - false true true true net48;net8.0-windows true Debug;Release;Release2 + true + true + disable + + + LlamaLibrary + nt153133 + LlamaLibrary + LlamaLibrary + https://github.com/nt153133/__LlamaLibrary.git + MIT + false + Readme.md + true bin\x64\Release\ @@ -49,6 +62,7 @@ + diff --git a/README.md b/README.md index a79fd1c..1a20aae 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -Buy me a coffeeBuy me a coffee - # __LlamaLibrary A robust library of functions for RebornBuddy botbases/plugins for FFXIV @@ -7,7 +5,7 @@ A robust library of functions for RebornBuddy botbases/plugins for FFXIV ### Automatic Setup -The easiest way to install LlamaLibrary is to install the [updateBuddy](https://loader.updatebuddy.net/UpdateBuddy.zip) plugin. It would be installed in the **/plugins** folder of your rebornBuddy folder as such: +The easiest way to install LlamaLibrary is to install the [updateBuddy](https://loader.updatebuddy.net/UpdateBuddy.zip) plugin. It would be installed in the **/plugins** folder of your RebornBuddy folder as such: ``` RebornBuddy └── Plugins @@ -22,7 +20,7 @@ It will automatically install the files into the correct folders and keep them u ### Manual Setup -For those of you that don't want to use [updateBuddy](https://loader.updatebuddy.net/UpdateBuddy.zip) here's the manual installtion method. +For those of you that don't want to use [updateBuddy](https://loader.updatebuddy.net/UpdateBuddy.zip) here's the manual installation method. First off, make sure you remove any previous versions of LlamaLibrary you may have in the **/BotBases** folder. @@ -30,7 +28,7 @@ Download the zip from [__LlamaLibrary](https://github.com/nt153133/__LlamaLibrar Download the zip from [LlamaUtilities](https://github.com/nt153133/LlamaUtilities) and create a folder in **/BotBases** called **LlamaUtilities** and either unzip the contents of the zip into that folder, or check out using a SVN client to that folder. -(Optional) +(Optional) Download the zip from [ExtraBotbases](https://github.com/nt153133/ExtraBotbases) and create a folder in **/BotBases** called **ExtraBotbases** and either unzip the contents of the zip into that folder, or check out using a SVN client to that folder. These are a few extra botbases that most users will not use. After Install your folder structure should look something like this. @@ -44,4 +42,4 @@ RebornBuddy ``` ## Contents -For a discription of what's all included with LlamaLibrary, check out the [wiki](https://github.com/nt153133/__LlamaLibrary/wiki)! +For a description of what's all included with LlamaLibrary, check out the [wiki](https://github.com/nt153133/__LlamaLibrary/wiki)!