“Git fatal: ref HEAD is not a symbolic ref” while using maven release plugin

后端 未结 10 665
后悔当初
后悔当初 2020-12-23 02:58

I get the following error output while running the Maven release plugin prepare step i.e. mvn release:prepare --batch-mode -DreleaseVersion=1.1.2 -DdevelopmentVersion=

10条回答
  •  攒了一身酷
    2020-12-23 03:27

    I have seen this problem under Bamboo used with Maven Release plug-in. I've fixed it by enabling the option 'Force Clean Build' in the 'Source Checkout' task. Bamboo says this might make the build slower, but it works and I didn't seen any significant time increase.

提交回复
热议问题