Skip to content

Commit 13fe70b

Browse files
committed
Release 2.1.2
1 parent ac84883 commit 13fe70b

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
4141

4242
release-net:
43-
if: ${{ false }} # disable for now
43+
#if: ${{ false }} # disable for now
4444
runs-on: ubuntu-latest
4545
defaults:
4646
run:

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,12 @@
33
A compact library with utility methods that are Java/C# compatible.
44
Use these utilities if generating portable applications that with converted .NET C# projects from Java.
55

6-
Available on Java and .NET: Contains different implementations in the `java` and `net` folders,
6+
Available on Java and .NET:
7+
8+
- On Java: include the `portable-java` dependency as indicated in the
9+
[Maven Central Repository](https://search.maven.org/artifact/io.github.javiertuya/portable-java)
10+
- On .NET: include the `PortableCs` package in you project as indicated in
11+
[NuGet](https://www.nuget.org/packages/PortableCs)
12+
13+
Contains different implementations in the `java` and `net` folders,
714
but the tests are shared (converted from java to .net using Sharpen).

java/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>io.github.javiertuya</groupId>
66
<artifactId>portable-java</artifactId>
7-
<version>2.1.2-SNAPSHOT</version>
7+
<version>2.1.2</version>
88
<packaging>jar</packaging>
99
<organization>
1010
<name>Software Engineering Research Group - Universidad de Oviedo</name>

net/Portable/Portable.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<OutputType>Library</OutputType>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<PackageId>PortableCs</PackageId>
6-
<InformationalVersion>2.1.2-SNAPSHOT</InformationalVersion>
6+
<InformationalVersion>2.1.2</InformationalVersion>
77

88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
99
<NoWarn>CS1591</NoWarn>
1010
<SonarQubeTestProject>false</SonarQubeTestProject>
1111

1212
<PackageOutputPath>./nupkg</PackageOutputPath>
1313
<RepositoryUrl>https://github.com/$(GITHUB_REPOSITORY)</RepositoryUrl>
14-
<Version>2.1.2-SNAPSHOT</Version>
14+
<Version>2.1.2</Version>
1515
<Authors>Javier Tuya</Authors>
1616
<Company>GIIS - University of Oviedo, ES</Company>
1717
<Description>

net/PortableTest/Translated/Giis.Portable/TestVersions.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ public virtual void TestVersionOfThisArtifact()
1414
{
1515
// The portable approach by specifying a class and artifact name
1616
// Update when major or minor version changes
17-
string version = new Versions(new PortableException(string.Empty).GetType(), "io.github.javiertuya", "portable").GetVersion();
17+
string version = new Versions(new PortableException(string.Empty).GetType(), "io.github.javiertuya", "portable-java").GetVersion();
1818
string[] items = JavaCs.SplitByDot(version);
1919
NUnit.Framework.Assert.AreEqual("2", items[0]);
2020
NUnit.Framework.Assert.AreEqual("1", items[1]);
2121
// java only, does not need specify any class
2222
if (Parameters.IsJava())
2323
{
24-
string jversion = new Versions(null, "io.github.javiertuya", "portable").GetVersion();
24+
string jversion = new Versions(null, "io.github.javiertuya", "portable-java").GetVersion();
2525
NUnit.Framework.Assert.AreEqual(version, jversion);
2626
}
2727
// net only, does not need specify artifact

0 commit comments

Comments
 (0)