Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

still unstable #16

Merged
merged 23 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install Newtonsoft
run: dotnet add package Newtonsoft.Json --version 13.0.3
- name: Install Platformbrowser
run: dotnet add package MintPlayer.PlatformBrowser --version 6.0.1
- name: Install SQlite
run: dotnet add package Microsoft.Data.Sqlite --version 7.0.10
- name: Restore dependencies
Expand All @@ -44,7 +42,7 @@ jobs:
matrix:
os: [ ubuntu-latest ]
dotnet-version: [ '6.0.x' ]
tag: [ '0.2' ]
tag: [ '0.2.5' ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -66,12 +64,12 @@ jobs:
ls -R
- name: "Rename based on architecture"
run: |
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-x64/publish/bookmark-dlp.exe" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-x64/publish/bookmark-dlp-win-x64-${{ matrix.dotnet-version }}.exe"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-x86/publish/bookmark-dlp.exe" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-x86/publish/bookmark-dlp-win-x86-${{ matrix.dotnet-version }}.exe"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/linux-arm64/publish/bookmark-dlp" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/linux-arm64/publish/bookmark-dlp-linux-arm64-${{ matrix.dotnet-version }}"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/linux-x64/publish/bookmark-dlp" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/linux-x64/publish/bookmark-dlp-linux-x64-${{ matrix.dotnet-version }}"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/osx-x64/publish/bookmark-dlp" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/osx-x64/publish/bookmark-dlp-osx-x64-${{ matrix.dotnet-version }}"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-arm64/publish/bookmark-dlp.exe" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-arm64/publish/bookmark-dlp-win-arm64-${{ matrix.dotnet-version }}.exe"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-x64/publish/bookmark-dlp.exe" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-x64/publish/bookmark-dlp-win-x64.exe"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-x86/publish/bookmark-dlp.exe" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-x86/publish/bookmark-dlp-win-x86.exe"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/linux-arm64/publish/bookmark-dlp" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/linux-arm64/publish/bookmark-dlp-linux-arm64"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/linux-x64/publish/bookmark-dlp" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/linux-x64/publish/bookmark-dlp-linux-x64"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/osx-x64/publish/bookmark-dlp" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/osx-x64/publish/bookmark-dlp-osx-x64"
mv "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-arm64/publish/bookmark-dlp.exe" "/home/runner/work/bookmark-dlp/bookmark-dlp/bin/Release/netcoreapp6.0/win-arm64/publish/bookmark-dlp-win-arm64.exe"
- name: "Delete old release"
env:
GH_TOKEN: ${{ github.token }}
Expand All @@ -86,12 +84,12 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/win-x64/publish/bookmark-dlp-win-x64-${{ matrix.dotnet-version }}.exe" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/win-x86/publish/bookmark-dlp-win-x86-${{ matrix.dotnet-version }}.exe" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/linux-arm64/publish/bookmark-dlp-linux-arm64-${{ matrix.dotnet-version }}" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/linux-x64/publish/bookmark-dlp-linux-x64-${{ matrix.dotnet-version }}" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/osx-x64/publish/bookmark-dlp-osx-x64-${{ matrix.dotnet-version }}" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/win-arm64/publish/bookmark-dlp-win-arm64-${{ matrix.dotnet-version }}.exe" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/win-x64/publish/bookmark-dlp-win-x64.exe" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/win-x86/publish/bookmark-dlp-win-x86.exe" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/linux-arm64/publish/bookmark-dlp-linux-arm64" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/linux-x64/publish/bookmark-dlp-linux-x64" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/osx-x64/publish/bookmark-dlp-osx-x64" --clobber
gh release upload ${{ matrix.tag }} "./bin/Release/netcoreapp6.0/win-arm64/publish/bookmark-dlp-win-arm64.exe" --clobber



Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install Newtonsoft
run: dotnet add package Newtonsoft.Json --version 13.0.3
- name: Install Platformbrowser
run: dotnet add package MintPlayer.PlatformBrowser --version 6.0.1
- name: Install SQlite
run: dotnet add package Microsoft.Data.Sqlite --version 7.0.10
- name: Restore dependencies
Expand Down Expand Up @@ -78,22 +76,28 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release delete alpha
#gh release delete alpha
echo delete
- name: Increment version from repository's tags
id: tages_versioning
uses: georgeneto/tags-versioning@v1
with:
repo-token: ${{secrets.GITHUB_TOKEN}}
- name: "Create new prerelease"
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create alpha --target unstable --prerelease --title "Development build" --notes "unstable autogenerated"
gh release create "${{ steps.version.outputs.next }}" --target unstable --prerelease --title "Development build ${{ steps.version.outputs.next }}" --notes "Autogen"
- name: Upload
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release upload alpha "./bin/Release/netcoreapp6.0/win-x64/publish/bookmark-dlp-win-x64-${{ matrix.dotnet-version }}.exe" --clobber
gh release upload alpha "./bin/Release/netcoreapp6.0/win-x86/publish/bookmark-dlp-win-x86-${{ matrix.dotnet-version }}.exe" --clobber
gh release upload alpha "./bin/Release/netcoreapp6.0/linux-arm64/publish/bookmark-dlp-linux-arm64-${{ matrix.dotnet-version }}" --clobber
gh release upload alpha "./bin/Release/netcoreapp6.0/linux-x64/publish/bookmark-dlp-linux-x64-${{ matrix.dotnet-version }}" --clobber
gh release upload alpha "./bin/Release/netcoreapp6.0/osx-x64/publish/bookmark-dlp-osx-x64-${{ matrix.dotnet-version }}" --clobber
gh release upload alpha "./bin/Release/netcoreapp6.0/win-arm64/publish/bookmark-dlp-win-arm64-${{ matrix.dotnet-version }}.exe" --clobber
gh release upload "${{ steps.version.outputs.next }}" "./bin/Release/netcoreapp6.0/win-x64/publish/bookmark-dlp-win-x64-${{ matrix.dotnet-version }}.exe" --clobber
gh release upload "${{ steps.version.outputs.next }}" "./bin/Release/netcoreapp6.0/win-x86/publish/bookmark-dlp-win-x86-${{ matrix.dotnet-version }}.exe" --clobber
gh release upload "${{ steps.version.outputs.next }}" "./bin/Release/netcoreapp6.0/linux-arm64/publish/bookmark-dlp-linux-arm64-${{ matrix.dotnet-version }}" --clobber
gh release upload "${{ steps.version.outputs.next }}" "./bin/Release/netcoreapp6.0/linux-x64/publish/bookmark-dlp-linux-x64-${{ matrix.dotnet-version }}" --clobber
gh release upload "${{ steps.version.outputs.next }}" "./bin/Release/netcoreapp6.0/osx-x64/publish/bookmark-dlp-osx-x64-${{ matrix.dotnet-version }}" --clobber
gh release upload "${{ steps.version.outputs.next }}" "./bin/Release/netcoreapp6.0/win-arm64/publish/bookmark-dlp-win-arm64-${{ matrix.dotnet-version }}.exe" --clobber



Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
################################################################################
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
################################################################################

/.vs
/obj/Debug/net7.0
/obj
Loading
Loading