From 5c617810f5b25cecf07a658aa4bb8fd967f52cbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Glawaty?= Date: Thu, 14 Dec 2023 02:45:49 +0100 Subject: [PATCH] Fixed changelog and GH action for package releasing (we dont want to update changelog and release notes for prerelease versions) --- .github/workflows/release-package.yml | 2 ++ CHANGELOG.md | 14 +++----------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index db442a8..c69714a 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -49,6 +49,7 @@ jobs: - name: Update changelog uses: superfaceai/release-changelog-action@v1 + if: startsWith(github.event.inputs.release-type, 'pre') != true with: path-to-changelog: CHANGELOG.md version: ${{ env.NEW_VERSION }} @@ -77,6 +78,7 @@ jobs: - id: get-changelog name: Get version changelog uses: superfaceai/release-changelog-action@v1 + if: startsWith(github.event.inputs.release-type, 'pre') != true with: path-to-changelog: CHANGELOG.md version: ${{ env.NEW_VERSION }} diff --git a/CHANGELOG.md b/CHANGELOG.md index c8b2653..a887ab9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,23 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] - -## [1.4.0-beta.2] - 2023-12-01 -### Added -- Added ability to provide custom options for each banner. Options can be passed via data attributes `data-amp-option-=""` and can be retrieved in event handlers. -- Added support for native lazy loading. Feature can be enabled through banner options `loading=lazy` and `loading-offset=` (for multiple positions only). - -### Changed -- The default templates have been modified and moved to the `./src/template` directory. -- Updated docs. - -## [1.4.0-beta.1] - 2023-11-30 ### Added - Added property `version` in the client. - Added integration with server-side rendered banners. +- Added ability to provide custom options for each banner. Options can be passed via data attributes `data-amp-option-=""` and can be retrieved in event handlers. +- Added support for native lazy loading. Feature can be enabled through banner options `loading=lazy` and `loading-offset=` (for multiple positions only). ### Changed - Property `banner.data` is now deprecated. To access information about a position use property `banner.positionData`. For example, replace `banner.data.displayType` with `banner.positionData.displayType`. +- The default templates have been modified and moved to the `./src/template` directory. - Updated docs. ## [1.3.1] - 2023-10-25