File tree Expand file tree Collapse file tree 6 files changed +34
-13
lines changed
Expand file tree Collapse file tree 6 files changed +34
-13
lines changed Original file line number Diff line number Diff line change 7676 # Set output from previous step
7777 export "ORG_GRADLE_PROJECT_pluginVersion=${{ steps.properties.outputs.prefixed-version }}"
7878
79- ./gradlew publishPlugin
79+ ./gradlew :typo3-cms:patchChangelog :typo3-cms:publishPlugin :lang-fluid:publishPlugin :lang-typoscript: publishPlugin
8080
8181 # Patch changelog, commit and push to the current repository
8282 changelog :
Original file line number Diff line number Diff line change 22
33## [ Unreleased]
44### Added
5+
6+ ### Changed
7+ - Improve publishing through GitHub actions
8+ - Grab version number from changelog correctly
9+ - Use "nightly" channel for TypoScript and Fluid projects
10+ - Fix syntax of release task
11+
12+ ### Deprecated
13+
14+ ### Removed
15+
16+ ### Fixed
17+
18+ ### Security
19+ ## [ 0.7.0]
20+ ### Added
521- Use GitHub actions to build plugin instead of travis
622- c2b9eca [ T3CMS] allowed TCA field can contain CSV string of tables (#351 ) (Cedric Ziel)
723- f7e3bb4 [ T3CMS] Create convenience method to get locale (#350 ) (Cedric Ziel)
Original file line number Diff line number Diff line change @@ -12,11 +12,6 @@ repositories {
1212}
1313
1414def htmlFixer = { htmlFile -> file(htmlFile). text. replace(' <html>' , ' ' ). replace(' </html>' , ' ' ) }
15- def getDate () {
16- def date = new Date ()
17- def formattedDate = date. format(' yyyy-MM-dd' )
18- return formattedDate
19- }
2015
2116group pluginGroup
2217
@@ -45,8 +40,7 @@ subprojects {
4540 changelog {
4641 version = pluginVersion
4742 path = " ${ project.rootProject.projectDir} /CHANGELOG.md"
48- header = { " [$version ] - ${ getDate()} " }
49- headerParserRegex = ~/ \d +\.\d +/
43+ headerParserRegex = ~/ \d +\.\d +\.\d +/
5044 itemPrefix = " -"
5145 keepUnreleasedSection = true
5246 unreleasedTerm = " [Unreleased]"
@@ -64,10 +58,6 @@ subprojects {
6458 }
6559 }
6660
67- publishPlugin {
68- token System . getenv(' IJ_REPO_TOKEN' )
69- }
70-
7161 patchPluginXml {
7262 if (customSinceBuild) {
7363 sinceBuild customSinceBuild
@@ -76,7 +66,7 @@ subprojects {
7666 untilBuild customUntilBuild
7767 }
7868
79- changeNotes({ changelog. getUnreleased(). toHTML() } )
69+ changeNotes changelog. getUnreleased(). toHTML()
8070 pluginDescription htmlFixer(" ${ project.projectDir} /src/main/resources/META-INF/description.html" )
8171 }
8272
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ intellij {
3333 ]
3434}
3535
36+ publishPlugin {
37+ channels [" nightly" ]
38+ token System . getenv(' PUBLISH_TOKEN' )
39+ }
40+
3641task generateFluidLexer (type : GenerateLexer ) {
3742 source = " src/main/grammars/FluidLexer.flex"
3843 targetDir = " gen/com/cedricziel/idea/fluid/lang/lexer"
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ intellij {
3434 ]
3535}
3636
37+ publishPlugin {
38+ channels [" nightly" ]
39+ token System . getenv(' PUBLISH_TOKEN' )
40+ }
41+
3742task generateTypoScriptLexer (type : GenerateLexer ) {
3843 source = " src/main/grammars/TypoScriptLexer.flex"
3944 targetDir = " gen/com/cedricziel/idea/typoscript/lang/lexer"
Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ intellij {
1919 plugins = requiredPlugins
2020}
2121
22+ publishPlugin {
23+ channels [" default" ]
24+ token System . getenv(' PUBLISH_TOKEN' )
25+ }
26+
2227sourceSets {
2328 main. resources. srcDirs + = [ " src/main/java" ]
2429 test {
You can’t perform that action at this time.
0 commit comments