зеркало из https://github.com/microsoft/gctoolkit.git
ignore samples when releasing
This commit is contained in:
Родитель
7e41acc190
Коммит
144889134d
|
@ -39,7 +39,7 @@ jobs:
|
|||
git config user.name "GitHub Actions"
|
||||
|
||||
- name: Release
|
||||
run: ./mvnw -B release:prepare release:perform -Prelease
|
||||
run: ./mvnw -B release:prepare release:perform -Drelease=true
|
||||
env:
|
||||
MAVEN_USERNAME: ${{ secrets.SONATYPE_NAME }}
|
||||
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }}
|
||||
|
|
19
pom.xml
19
pom.xml
|
@ -79,7 +79,6 @@
|
|||
|
||||
<modules>
|
||||
<module>core</module>
|
||||
<module>sample</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
|
@ -482,9 +481,27 @@
|
|||
<skipUnpack>false</skipUnpack>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>sample</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>release</name>
|
||||
<value>!true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>sample</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<!-- Only active when you add -Prelease to the build-->
|
||||
<id>release</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>release</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
Загрузка…
Ссылка в новой задаче