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 115115 </configuration >
116116 </plugin >
117117
118- <!-- To push to Github -->
118+ <!-- To create the Github release -->
119119 <plugin >
120120 <groupId >org.apache.maven.plugins</groupId >
121121 <artifactId >maven-release-plugin</artifactId >
124124 <tagNameFormat >v@{project.version}</tagNameFormat >
125125 </configuration >
126126 </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 >
127148 </plugins >
128149 </build >
129150</project >
You can’t perform that action at this time.
0 commit comments