@govbr-ds/release-config 1.1.0-alpha.3 → 1.1.0-alpha.4

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/package.json +1 -1
  2. package/shared.config.js +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govbr-ds/release-config",
3
- "version": "1.1.0-alpha.3",
3
+ "version": "1.1.0-alpha.4",
4
4
  "description": "Configuração compartilhada do semantic-release para projetos do GOVBR-DS no gitlab",
5
5
  "keywords": [
6
6
  "gitlab",
package/shared.config.js CHANGED
@@ -100,10 +100,10 @@ module.exports = {
100
100
  commitsSort: ['subject', 'scope'],
101
101
  finalizeContext: (context) => {
102
102
  const date = new Date()
103
- const day = date.getDate()
104
- const month = date.getMonth() + 1
105
- const year = date.getFullYear()
106
- context.date = `${day}/${month}/${year}`
103
+ context.date = date.toLocaleString('pt-BR', {
104
+ timeZone: 'America/Sao_Paulo',
105
+ dateStyle: 'short',
106
+ })
107
107
  return context
108
108
  },
109
109
  },