Commit graph

11 commits

Author SHA1 Message Date
Andres Aragoneses cec35c6004 Run tests in CI (Windows OS only for now)
The reason for such a hack when runing in CI is because we
need to make sure we're using higher sequence numbers than
any previous times (and even previous runs of the test suite).

And we run 1 test only for now, later we will enable more.

Other notes:

The trick to extract secrets to files was taken from:
https://stackoverflow.com/a/59482124/544947

The binary-to-text encoding/decoding was taken from:
https://stackoverflow.com/a/42725926/544947

The way to add defines to DefineConstants for MSBuild:
https://stackoverflow.com/a/5053070/544947
2020-09-19 17:00:34 +08:00
Andres G. Aragoneses d38840f22e GithubCI: build the whole solution in macOS&Linux too
Now that we have removed the only VS-specific project [1],
we can make all pipelines of all OSs consistent, building
the solution instead of a specific project.

[1] 90e16c1b1e
2020-09-18 15:21:36 +08:00
Andres G. Aragoneses 9b68b69d14 nugetUpload: change baseVersion from 0.1.1 to 0.3.1
The layer update (and namespaces/assembly/type renames) is a
huge API breaking change.
2020-09-11 17:15:25 +08:00
Andres G. Aragoneses 313739eb2f nugetUpload: add a dash in pre-release version before the git hash
Otherwise if the hash starts with a non-number it looks weird.
2020-04-14 22:08:58 +08:00
Andres G. Aragoneses ba7e7cbfa9 nugetUpload: change baseVersion from 0.1.0 to 0.1.1
Now that we have diverged from TLSharp[1], the new pre-release
versions pushed to nuget have different API and slightly
different behaviour so we want them to be marked as newer.

[1] since 4d09ac711d
2020-04-14 21:59:36 +08:00
Andres G. Aragoneses b55084d50d nugetUpload: fix version creation
Somehow for the previous commit hash, which had only numbers in its
short version (0122072), nuget failed with:
Run $date = get-date -format "yyyyMMdd-HHmm"
Attempting to build package from 'TgSharp.Core.csproj'.
Error NU5010: Version string specified for package reference '0.1.0-date.20200414-0908.git.0122072' is invalid.
File does not exist (TgSharp.0.1.0-date.20200414-0908.git.0122072.nupkg).

Now we remove the "." after "date" and "git" and use double-dash
to separate initial version from the sub-version.
2020-04-14 18:32:07 +08:00
Andres G. Aragoneses c59eba9023 nugetUpload: honor git tags as versions 2020-04-03 17:35:34 +08:00
Andres G. Aragoneses ba0715ed5e nugetUpload: refactor versioning 2020-04-03 16:21:12 +08:00
Afshin Arani 66942979ab Add GithubActions workflow for nugetUpload 2020-04-02 21:37:33 +08:00
Andres G. Aragoneses 932a733197
Finish TLSharp -> TgSharp rename (#1) 2020-04-02 16:37:22 +08:00
Afshin Arani f8b35dab61
GithubActions Workflow for crossplatform CI (#921)
AppVeyor only has Windows support on the free tier
2020-04-02 15:10:27 +08:00