From 20200c2062b3bcf0f2a77eb1b5ecb6eda4d46008 Mon Sep 17 00:00:00 2001 From: Elon Park Date: Mon, 14 Mar 2022 00:11:25 +0900 Subject: [PATCH 1/4] chore: remove deploy_to_cocoapods.yml --- .github/workflows/deploy_to_cocoapods.yml | 26 ----------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/deploy_to_cocoapods.yml diff --git a/.github/workflows/deploy_to_cocoapods.yml b/.github/workflows/deploy_to_cocoapods.yml deleted file mode 100644 index cdcee24..0000000 --- a/.github/workflows/deploy_to_cocoapods.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: deploy_to_cocoapods - -on: - push: - tags: - - '*' - -jobs: - build: - - runs-on: macOS-latest - - steps: - - uses: actions/checkout@v1 - - - name: Install Cocoapods - run: gem install cocoapods - - - name: Deploy to Cocoapods - run: | - set -eo pipefail - export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`) - pod lib lint --allow-warnings - pod trunk push --allow-warnings - env: - COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} \ No newline at end of file From fcb9985d758c4d15f9bbdadabfd3da8d126bd21c Mon Sep 17 00:00:00 2001 From: Elon Park Date: Mon, 14 Mar 2022 00:27:59 +0900 Subject: [PATCH 2/4] ci: add release-drafter.yml --- .github/release-drafter.yml | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..bcae0ad --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,42 @@ +name-template: 'v$RESOLVED_VERSION 🌈' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: 'πŸš€ Features' + label: 'feat' + + - title: 'πŸ› Bug Fixes' + label: 'fix' + + - title: 'πŸš€ Performance Improvements' + label: 'perf' + + - title: 'πŸ“š Documentation' + label: 'docs' + + - title: '🧰 Maintenance' + labels: + - 'chore' + - 'ci' + - 'build' + - 'test' + + - title: 'πŸ—‘ Reverts' + label: 'revert' + +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +change-title-escapes: '\<*_&' +version-resolver: + major: + labels: + - 'major' + minor: + labels: + - 'minor' + patch: + labels: + - 'patch' + default: patch +template: | + ## What’s Changed + + $CHANGES \ No newline at end of file From 327255ecde5017e0fc5ed80c55a3a15edcaf3496 Mon Sep 17 00:00:00 2001 From: Elon Park Date: Mon, 14 Mar 2022 00:28:12 +0900 Subject: [PATCH 3/4] ci: update release.yml --- .github/workflows/release.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7105c77..6144cb5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,20 +9,31 @@ env: jobs: build: - runs-on: ubuntu-latest + runs-on: macOS-latest + steps: - uses: actions/checkout@v2 + - uses: release-drafter/release-drafter@v5 + - name: extract_version_info run: echo "##[set-output name=version;]$(echo '${{ github.event.head_commit.message }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')" id: extract_version_name - - uses: johnyherangi/create-release-notes@main - id: create-release-notes - - name: Create Release uses: actions/create-release@v1 with: tag_name: ${{ steps.extract_version_name.outputs.version }} release_name: ${{ steps.extract_version_name.outputs.version }} - body: ${{ steps.create-release-notes.outputs.release-notes }} \ No newline at end of file + + - name: Install Cocoapods + run: gem install cocoapods + + - name: Deploy to Cocoapods + run: | + set -eo pipefail + export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`) + pod lib lint --allow-warnings + pod trunk push --allow-warnings + env: + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} \ No newline at end of file From 59037f7738b77a02aa561f17255f975ad4d71880 Mon Sep 17 00:00:00 2001 From: Elon Park Date: Mon, 14 Mar 2022 00:30:16 +0900 Subject: [PATCH 4/4] :bookmark: Bump version to 1.3.9 --- EPLogger.xcodeproj/project.pbxproj | 4 ++-- Example/Pods/Pods.xcodeproj/project.pbxproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/EPLogger.xcodeproj/project.pbxproj b/EPLogger.xcodeproj/project.pbxproj index c418c30..7c07a27 100644 --- a/EPLogger.xcodeproj/project.pbxproj +++ b/EPLogger.xcodeproj/project.pbxproj @@ -289,7 +289,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.3.8; + MARKETING_VERSION = 1.3.9; PRODUCT_BUNDLE_IDENTIFIER = com.elonparks.EPLogger; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -316,7 +316,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.3.8; + MARKETING_VERSION = 1.3.9; PRODUCT_BUNDLE_IDENTIFIER = com.elonparks.EPLogger; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index da71b72..1839366 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -458,7 +458,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 1.3.8; + MARKETING_VERSION = 1.3.9; MODULEMAP_FILE = "Target Support Files/EPLogger/EPLogger.modulemap"; PRODUCT_MODULE_NAME = EPLogger; PRODUCT_NAME = EPLogger; @@ -558,7 +558,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 1.3.8; + MARKETING_VERSION = 1.3.9; MODULEMAP_FILE = "Target Support Files/EPLogger/EPLogger.modulemap"; PRODUCT_MODULE_NAME = EPLogger; PRODUCT_NAME = EPLogger;