Compare commits

...

10 Commits

Author SHA1 Message Date
cb4e9830b3
misc: removed gitlab ci
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2024-09-08 18:16:45 +02:00
e6d5ea7909 Setting mvn task to package
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-11-07 14:13:41 +01:00
c5b1654798 Fixed typo in pom.xml: assmble instead of assembly
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-11-07 12:25:26 +01:00
9d25beb854 Updated gitlab ci to fix issue with jobs📦cache:paths that should be an array
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-11-07 12:15:40 +01:00
672891c1d4 Updated gitlab ci to fix issue with jobs:compile:cache:paths that should be an array
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-11-07 12:11:47 +01:00
3b7fff8a17 Added some more stages such as release and refactored to use the gitlab registry
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-11-07 12:10:09 +01:00
34e91dcc0d Updated jar archive name in pom.xml
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-11-07 12:09:23 +01:00
Louis Vallat
dcda959c9e updated mvn version in pom.xml 2020-08-26 23:56:18 +02:00
Louis Vallat
7300cbb533 removed comment that was used for testing purposes and incremented version to 1.0.3 : added support for posts without post_hint value 2020-08-26 23:54:15 +02:00
Louis Vallat
b8049ee7d7 added gitlab ci 2020-08-26 23:39:00 +02:00
3 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM openjdk:latest
COPY . /usr/src/RedditReposterBot/
COPY ./target/RedditReposterBot.jar /usr/src/RedditReposterBot/
WORKDIR /usr/src/RedditReposterBot/
CMD [ "java", "-jar", "RedditReposterBot-full.jar" ]
CMD [ "java", "-jar", "RedditReposterBot.jar" ]

View File

@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>RedditReposterBot</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.3-SNAPSHOT</version>
<build>
<plugins>
<plugin>
@ -26,6 +26,8 @@
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<finalName>RedditReposterBot</finalName>
<appendAssemblyId>false</appendAssemblyId>
<archive>
<manifest>
<addClasspath>true</addClasspath>

View File

@ -34,7 +34,7 @@ public class RedditReposterBot {
/**
* Version of the application.
*/
private static final String VERSION = "1.0.1";
private static final String VERSION = "1.0.3";
/**
* Launch the Hypervisor.
@ -62,7 +62,7 @@ public class RedditReposterBot {
System.out.println("[*] App version " + VERSION);
Hypervisor master = Hypervisor.getSingleton();
//master.addSocialMedia(new TwitterBot());
master.addSocialMedia(new TwitterBot());
master.run();
}
}