Skip to content

Creating tag for .net is not working #23

@Pastajello

Description

@Pastajello

Hello,

For starters, great extension! :D

So for the issue:

Im not sure what languages are supported for tag creation here, but .Net has a bit different process to get the tar file.
From what I've read in sc the 'tag creation' only packs whatever is in the folder and sends it into appwrite.

For .net we first need to create 'publish package' and only then we can create a tar to send into appwrite from this package.

So now:

Would it be possible to either recognize .net solutions or pass the default path for tag method get the files from?
The path that the package is sitting is 'bin/Debug/net5.0/linux-x64'.
So the solution would be, at least for me, if the folder contains a '*.csproj' check for 'bin/Debug/net5.0/linux-x64' and tar this folder.

The process for .net is like this:

dotnet publish --runtime linux-x64 --framework net5.0 --no-self-contained
tar -C bin/Debug/net5.0/linux-x64 -zcvf code.tar.gz publish

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions