Skip to content

Commit

Permalink
change version to 4.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
anastaciocintra committed Mar 30, 2021
1 parent acb6b6b commit cdd1b48
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .version/changeversion.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
old="4.0.2"
new="4.0.3-SNAPSHOT"
new="4.0.3"
old="4.0.3-SNAPSHOT"

find ../ -type f \( -name "pom.xml" \) \
-exec sed -i -e "s/<revision>$old<\/revision>/<revision>$new<\/revision>/g" {} \;
Expand Down
2 changes: 1 addition & 1 deletion .version/tips.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ go to oss.sonatype.org
promote... wait
release ... wait some hours
test <putting on dependencies>
on github
on github (after oss part)
pull request of the released branch
create a new release

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Download code and binaries from the [last release of escpos-coffee](https://gith
<dependency>
<groupId>com.github.anastaciocintra</groupId>
<artifactId>escpos-coffee</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.0.3</version>
</dependency>
```

Expand All @@ -65,7 +65,7 @@ repositories {
Step 2. Add the dependency
```
dependencies {
implementation 'com.github.anastaciocintra:escpos-coffee:4.0.3-SNAPSHOT'
implementation 'com.github.anastaciocintra:escpos-coffee:4.0.3'
}
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


<properties>
<revision>4.0.3-SNAPSHOT</revision>
<revision>4.0.3</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ public BitonalOrderedDither(int matrixWidth, int matrixHeight, int thresholdMin,
float positionValue = (float)thresholdMin;

Random randomCoordinates = new Random(1);
// int shuffledX[] = randomCoordinates.ints(0, matrixWidth).distinct().limit(matrixWidth).toArray();
// int shuffledY[] = randomCoordinates.ints(0, matrixHeight).distinct().limit(matrixHeight).toArray();
int shuffledX[] = shuffle(matrixWidth, randomCoordinates);
int shuffledY[] = shuffle(matrixHeight, randomCoordinates);

Expand Down

0 comments on commit cdd1b48

Please sign in to comment.