Skip to content

Fix hardcoded version for packing #930

@shargon

Description

@shargon

We need to fix the hardcoded version (3.6.2-) from the workflow.

dotnet add ./src/Neo.SmartContract.Testing/Neo.SmartContract.Testing.csproj package 'Neo' --version 3.6.2-${{ env.VERSION_SUFFIX_NEO }}

The main problem is that when it is compiled with neo as a reference, it takes the subversion of this repo as subversion of neo, which makes the test package useless. The solution is to replace the reference to the submodule with the version of the current package in neo, but the current version is more difficult than the subversion.

Before:

image

Now:

<dependency id="Neo" version="3.6.2-CI01499" exclude="Build,Analyzers" />

Now it's working for the current version.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions