Skip to content

Commit

Permalink
Merge pull request #34 from nor0x/quickfix-33
Browse files Browse the repository at this point in the history
Quickfix for #33
  • Loading branch information
nor0x authored Oct 17, 2024
2 parents 75285fe + e927d39 commit 5786446
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: build and release

on:
push:
tags:
- '*'
workflow_dispatch:


env:
APPLE_ID: ${{ secrets.APPLE_ID }}
Expand Down Expand Up @@ -118,15 +117,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Log GITHUB_WORKSPACE
- name: Get Version via powershell
id: get_version
run: |
echo "GITHUB_WORKSPACE is $GITHUB_WORKSPACE"
echo "current directory"
ls
echo "GITHUB_WORKSPACE directory"
ls $GITHUB_WORKSPACE
echo "src directory"
ls $GITHUB_WORKSPACE/src
$version = Get-Content -Path $env:GITHUB_WORKSPACE/version.txt
$env:CURRENT_VERSION = $version.ToString()
echo "::set-output name=CURRENT_VERSION::$env:CURRENT_VERSION"
- name: run housekeeping scripts
run: |
cd $GITHUB_WORKSPACE/scripts
Expand Down Expand Up @@ -156,12 +152,18 @@ jobs:
run: |
cd $GITHUB_WORKSPACE
ls
- name: Create GitHub Tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: false
custom_tag: ${{ steps.get_version.outputs.CURRENT_VERSION }}
- name: Create Release
uses: ncipollo/release-action@v1.13.0
uses: ncipollo/release-action@v1
with:
artifacts: |
$GITHUB_WORKSPACE/*.zip
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true
draft: true
draft: true
2 changes: 1 addition & 1 deletion src/ViewModels/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public async Task CheckSdks(bool force = false)
if (Sdks is not null) Sdks.FilterHandler -= Sdks_FilterHandler;
IsBusy = true;
var sdkList = await _dotnet.GetSdks(force);
Sdks = new ObservableView<Sdk>(sdkList);
Sdks = new ObservableView<Sdk>(sdkList.DistinctBy(s => s.VersionDisplay));
Sdks.SearchSpecification.Add(x => x.VersionDisplay, BinaryOperator.Contains);
Sdks.SearchSpecification.Add(x => x.Path, BinaryOperator.Contains);
Sdks.FilterHandler += Sdks_FilterHandler;
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.2
2.0.3

0 comments on commit 5786446

Please sign in to comment.