Skip to content

Commit

Permalink
Fix release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ericof committed Mar 22, 2024
1 parent 3eec1e6 commit f393b9e
Show file tree
Hide file tree
Showing 13 changed files with 47 additions and 43 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

env:
node-version: 20.x
ADDON_NAME: volto-social-blocks

jobs:
build:
Expand Down Expand Up @@ -57,8 +58,9 @@ jobs:
# Fetch the pull request' base branch so towncrier will be able to
# compare the current branch with the base branch.
# Source: https://github.com/actions/checkout/#fetch-all-branches.
git fetch --no-tags origin main
towncrier check --compare-with origin/main
git fetch --no-tags origin ${BASE_BRANCH}
cd packages/${ADDON_NAME}
towncrier check --compare-with ${BASE_BRANCH}
env:
BASE_BRANCH: ${{ github.base_ref }}
if: github.event_name == 'pull_request'
29 changes: 0 additions & 29 deletions CHANGELOG.md

This file was deleted.

1 change: 1 addition & 0 deletions CHANGELOG.md
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"prettier:fix": "prettier --write 'packages/**/src/**/*.{js,jsx,ts,tsx}' ",
"stylelint": "stylelint 'packages/**/src/**/*.{css,scss,less}' --allow-empty-input",
"stylelint:fix": "stylelint 'packages/**/src/**/*.{css,scss,less}' --fix",
"dry-release": "release-it --dry-run",
"release": "pnpm --filter @kitconcept/volto-button-block release-it",
"release-major-alpha": "pnpm --filter @kitconcept/volto-button-block release-it major --preRelease=alpha",
"release-alpha": "pnpm --filter @kitconcept/volto-button-block release-it --preRelease=alpha"
"dry-release": "pnpm --filter @kitconcept/volto-social-blocks dry-release",
"release": "pnpm --filter @kitconcept/volto-social-blocks release",
"release-major-alpha": "pnpm --filter @kitconcept/volto-social-blocks release-major-alpha",
"release-alpha": "pnpm --filter @kitconcept/volto-social-blocks release-alpha"
},
"dependencies": {
"@plone/volto": "workspace:*",
Expand Down
File renamed without changes.
29 changes: 29 additions & 0 deletions packages/volto-social-blocks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Changelog

<!-- You should *NOT* be adding new change log entries to this file.
You should create a file in the news directory instead.
For helpful instructions, please see:
https://6.docs.plone.org/volto/developer-guidelines/contributing.html#create-a-pull-request
-->

<!-- towncrier release notes start -->

## [1.0.0-alpha.5](https://github.com/kitconcept/volto-social-blocks/compare/1.0.0-alpha.4...1.0.0-alpha.5) (2023-08-28)

## [1.0.0-alpha.4](https://github.com/kitconcept/volto-social-blocks/compare/1.0.0-alpha.3...1.0.0-alpha.4) (2023-06-06)


### Features

* Add Brazilian Portuguese translation ([fe1dfbc](https://github.com/kitconcept/volto-social-blocks/commit/fe1dfbc51436b82b8108a01c973657d5dfe4b42c))

## 1.0.0-alpha.3 (2023-04-13)

### Bugfix
- Change module attribute in CheckPrivacyConsent to string type @danalvrz

## [1.0.0-alpha.2](https://github.com/kitconcept/volto-social-blocks/compare/1.0.0-alpha.1...1.0.0-alpha.2) (2023-04-06)

## [1.0.0-alpha.1](https://github.com/kitconcept/volto-social-blocks/compare/1.0.0-alpha.0...1.0.0-alpha.1) (2023-04-04)

## [1.0.0-alpha.0](https://github.com/kitconcept/volto-social-blocks/compare/0.1.0...1.0.0-alpha.0) (2023-04-04)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/volto-social-blocks/news/28.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix release scripts [@ericof]
File renamed without changes.
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f393b9e

Please sign in to comment.