Skip to content

Commit

Permalink
fix: Release fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
seebeen committed Aug 26, 2023
1 parent e1b9528 commit 45e05c3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,28 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.OBLAK_BOT_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- name: Cache Composer dependencies
uses: actions/cache@v2.1.6
uses: actions/cache@v3
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- name: Install composer dependencies
uses: php-actions/composer@v6
with:
php_version: 7.3
php_version: 7.4
version: 2
dev: no
quiet: yes
Expand All @@ -45,14 +53,12 @@ jobs:
- name: Lint
run: yarn lint
- name: Build
run: "yarn build:production"
run: 'yarn build:production'
- name: Release
env:
GIT_AUTHOR_NAME: "oblakbot"
GIT_AUTHOR_EMAIL: "sibin.grasic+bot@oblak.studio"
GIT_COMMITTER_NAME: "oblakbot"
GIT_AUTHOR_NAME: 'oblakbot'
GIT_AUTHOR_EMAIL: 'sibin.grasic+bot@oblak.studio'
GIT_COMMITTER_NAME: 'oblakbot'
GIT_COMMITTER_EMAIL: 'sibin.grasic+bot@oblak.studio'
GITHUB_TOKEN: ${{ secrets.OBLAK_BOT_TOKEN }}
run: yarn run semantic-release


run: yarn semantic-release
8 changes: 4 additions & 4 deletions .wordpress-org/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Contributors: oblakstudio, seebeen
Donate link: https://srbizasrbe.org
Tags: serbia, woocommerce, woocommerce-serbia
Requires at least: 5.6
Tested up to: 6.1
Requires PHP: 7.3
Stable tag: 2.2.0
Requires at least: 6.0
Tested up to: 6.3
Requires PHP: 7.4
Stable tag: 0.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down
2 changes: 1 addition & 1 deletion lib/Serbian_WooCommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private function define_constants() {
Constants::is_defined( 'WCRS_ABSPATH' ) || define( 'WCRS_ABSPATH', dirname( WCRS_PLUGIN_FILE ) . '/' );
Constants::is_defined( 'WCRS_PLUGIN_BASENAME' ) || define( 'WCRS_PLUGIN_BASENAME', plugin_basename( WCRS_PLUGIN_FILE ) );
Constants::is_defined( 'WCRS_PLUGIN_PATH' ) || define( 'WCRS_PLUGIN_PATH', plugin_dir_path( WCRS_PLUGIN_FILE ) );
Constants::is_defined( ' ' ) || define( 'WCRS_VERSION', $this->version );
Constants::is_defined( 'WCRS_VERSION' ) || define( 'WCRS_VERSION', $this->version );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion woocommerce/checkout/payment-slip.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @see https://docs.woocommerce.com/document/template-structure/
* @package Serbian Addons for WooCommerce
* @subpackage Templates
* @version 2.3.0
* @version 2.0.0
*
* @var array $company Company data.
* @var string $model Payment model.
Expand Down

0 comments on commit 45e05c3

Please sign in to comment.