@dword-design/base-config-app 7.0.8 → 7.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +12 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -39,8 +39,18 @@ export default function (config) {
39
39
  },
40
40
  useJobMatrix: false,
41
41
  ...(!packageConfig.private && {
42
- deployPlugins: [[packageName`@semantic-release/exec`, {
43
- publishCmd: `git log -p @{upstream}.. --max-count=1 && ${packageName`pm2`} deploy production`
42
+ deployPlugins: [[packageName`@semantic-release/exec`,
43
+ /**
44
+ * TODO: For some reason there are unpushed changes in CI before this command, which is why
45
+ * we need --force. The package.json version change and the changelog change should be
46
+ * pushed by @semantic-release/git in prepare phase.
47
+ * Interestingly I also get "Updates were rejected because the remote contains work that you do
48
+ * not have locally." when pulling, so something seems to get pushed.
49
+ * Output the unpushed diff commit: Add this in publishCmd here below before the deploy command:
50
+ * git log -p @{upstream}.. --max-count=1 &&
51
+ */
52
+ {
53
+ publishCmd: `${packageName`pm2`} deploy production --force`
44
54
  }]],
45
55
  preDeploySteps: [{
46
56
  uses: "webfactory/ssh-agent@v0.5.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base-config-app",
3
- "version": "7.0.8",
3
+ "version": "7.0.10",
4
4
  "repository": "dword-design/base-config-app",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",