Skip to content

Commit

Permalink
Fix missing ProjectReference (#1)
Browse files Browse the repository at this point in the history
* Fix missing ProjectReference

* Delete duplicate LICENSE.md

* Add missing --preprelease flag in release workflows
  • Loading branch information
albertospelta authored Feb 12, 2024
1 parent a7dbc80 commit ba2d4d2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 25 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release-obfuscator-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
env:
RELEASE_TAG: ${{ env.PROJECT }}_${{ steps.nbgv.outputs.SemVer2 }}
- name: gh release create
run: gh release create ${{ env.RELEASE_TAG }} 'src/artifacts/publish/${{ env.PROJECT }}/release_win-x86/${{ env.PROJECT }}.exe' --title ${{ env.RELEASE_TAG }} --generate-notes --draft
run: |
PRERELEASE_FLAG=$([[ "${{ steps.nbgv.outputs.PrereleaseVersion }}" != "" ]] && echo "--prerelease" || echo "")
gh release create ${{ env.RELEASE_TAG }} 'src/artifacts/publish/${{ env.PROJECT }}/release_win-x86/${{ env.PROJECT }}.exe' --title ${{ env.RELEASE_TAG }} --generate-notes --draft $PRERELEASE_FLAG
env:
RELEASE_TAG: ${{ env.PROJECT }}_${{ steps.nbgv.outputs.SemVer2 }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/release-obfuscator-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ jobs:
run: echo "::warning::(TOFIX) enable nuget push."
- name: create release
run: |
PRERELEASE_FLAG=""
if [[ "${{ steps.nbgv.outputs.PrereleaseVersion }}" != "" ]]; then PRERELEASE_FLAG="--prerelease"; fi
PRERELEASE_FLAG=$([[ "${{ steps.nbgv.outputs.PrereleaseVersion }}" != "" ]] && echo "--prerelease" || echo "")
gh release create ${{ env.RELEASE_TAG }} --title ${{ env.RELEASE_TAG }} --generate-notes --draft $PRERELEASE_FLAG
env:
RELEASE_TAG: ${{ env.PROJECT }}_${{ steps.nbgv.outputs.NuGetPackageVersion }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-obfuscator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
- name: nuget push
run: echo "::warning::(TOFIX) enable nuget push."
- name: create release
run: gh release create ${{ env.RELEASE_TAG }} --title ${{ env.RELEASE_TAG }} --generate-notes --draft
run: |
PRERELEASE_FLAG=$([[ "${{ steps.nbgv.outputs.PrereleaseVersion }}" != "" ]] && echo "--prerelease" || echo "")
gh release create ${{ env.RELEASE_TAG }} --title ${{ env.RELEASE_TAG }} --generate-notes --draft $PRERELEASE_FLAG
env:
RELEASE_TAG: ${{ env.PROJECT }}_${{ steps.nbgv.outputs.NuGetPackageVersion }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Dax.Vpax.Obfuscator.Common\Dax.Vpax.Obfuscator.Common.csproj" />
<ProjectReference Include="..\Dax.Vpax.Obfuscator\Dax.Vpax.Obfuscator.csproj" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\..\src\Dax.Vpax.Obfuscator.Common\Dax.Vpax.Obfuscator.Common.csproj" />
<ProjectReference Include="..\..\src\Dax.Vpax.Obfuscator\Dax.Vpax.Obfuscator.csproj" />
<ProjectReference Include="..\..\src\TabularEditor.Dax.Tokenizer\TabularEditor.Dax.Tokenizer.csproj" />
</ItemGroup>

</Project>

0 comments on commit ba2d4d2

Please sign in to comment.