File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 115
115
</configuration >
116
116
</plugin >
117
117
118
- <!-- To push to Github -->
118
+ <!-- To create the Github release -->
119
119
<plugin >
120
120
<groupId >org.apache.maven.plugins</groupId >
121
121
<artifactId >maven-release-plugin</artifactId >
124
124
<tagNameFormat >v@{project.version}</tagNameFormat >
125
125
</configuration >
126
126
</plugin >
127
+
128
+ <!-- To upload code to Github -->
129
+ <plugin >
130
+ <groupId >com.github.github</groupId >
131
+ <artifactId >downloads-maven-plugin</artifactId >
132
+ <version >0.6</version >
133
+ <configuration >
134
+ <description >Release ${project.version} </description >
135
+ <override >true</override >
136
+ <includeAttached >true</includeAttached >
137
+ <server >github.com</server >
138
+ </configuration >
139
+ <executions >
140
+ <execution >
141
+ <goals >
142
+ <goal >upload</goal >
143
+ </goals >
144
+ <phase >deploy</phase >
145
+ </execution >
146
+ </executions >
147
+ </plugin >
127
148
</plugins >
128
149
</build >
129
150
</project >
You can’t perform that action at this time.
0 commit comments