From e1fbfc60332cfce664282dfea12ab4a2c28bde71 Mon Sep 17 00:00:00 2001
From: SteelWagstaff <steel@pressbooks.com>
Date: Tue, 13 Dec 2022 14:20:28 -0800
Subject: [PATCH] Bump version, fix build command, transifex action

---
 .github/workflows/update-translations.yml | 2 +-
 .tx/config                                | 3 +--
 README.md                                 | 6 +++---
 package.json                              | 2 +-
 style.css                                 | 2 +-
 5 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/update-translations.yml b/.github/workflows/update-translations.yml
index d83f05b..f489d2d 100644
--- a/.github/workflows/update-translations.yml
+++ b/.github/workflows/update-translations.yml
@@ -10,7 +10,7 @@ jobs:
       with:
         token: ${{ secrets.PAT_FOR_GITHUB_ACTIONS }}
     - name: Install Transifex Client
-      run: sudo pip install transifex-client
+      run: curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
     - name: Pull translations from Transifex
       run: tx pull --all --force --minimum-perc=25
       env:
diff --git a/.tx/config b/.tx/config
index 65c43e2..8aa8512 100644
--- a/.tx/config
+++ b/.tx/config
@@ -1,11 +1,10 @@
 [main]
 host = https://www.transifex.com
 
-[aldine.pressbooks-aldine]
+[o:pressbooks:p:aldine:r:pressbooks-aldine]
 file_filter = languages/<lang>.po
 lang_map = de:de_DE, es:es_ES, fr:fr_FR, gl:gl_ES, nb:nb_NO, it:it_IT, ka:ka_GE, ru:ru_RU, ta:ta_LK, hr_HR:hr
 minimum_perc = 0
 source_file = languages/pressbooks-aldine.pot
 source_lang = en
 type = PO
-
diff --git a/README.md b/README.md
index 270deb4..c85d326 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ Contributors: conner_bw, greatislander, steelwagstaff
 Tags: publishing, catalog, pressbooks, default-theme
 Requires at least: 6.1.1 
 Tested up to: 6.1.1 
-Stable tag: 1.18.0
+Stable tag: 1.18.1
 Requires PHP: 8.0
 License: GNU General Public License v3 or later 
 License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -31,9 +31,9 @@ Aldine is the default theme for the home page of [Pressbooks](https://pressbooks
 
 ## Changelog
 
-### 1.18.0
+### 1.18.1
 
-* See: https://github.com/pressbooks/pressbooks-aldine/releases/tag/1.18.0
+* See: https://github.com/pressbooks/pressbooks-aldine/releases/tag/1.18.1
 * Full release history available at: https://github.com/pressbooks/pressbooks-aldine/releases
 
 ## Upgrade Notices
diff --git a/package.json b/package.json
index d447e01..9fcc211 100644
--- a/package.json
+++ b/package.json
@@ -61,7 +61,7 @@
 		}
 	},
 	"scripts": {
-		"build": "mix",
+		"build": "npm run production",
 		"lint:scripts": "eslint \"assets/scripts/**/*.js\"",
 		"lint:styles": "stylelint \"assets/styles/**/*.scss\"",
 		"lint": "run-s lint:*",
diff --git a/style.css b/style.css
index 662649a..c7bf90d 100644
--- a/style.css
+++ b/style.css
@@ -5,7 +5,7 @@ Author:				Pressbooks (Book Oven Inc.)
 Author URI:			https://pressbooks.org
 Description:		Aldine is the default theme for the home page of Pressbooks networks. It is named for the Aldine Press, founded by Aldus Manutius in 1494, who is regarded by many as the world’s first publisher.
 Tags:				publishing, catalog, pressbooks, default-theme
-Version:			1.18.0
+Version:			1.18.1
 Requires at least:	6.1.1
 Tested up to:		6.1.1
 Requires PHP:		8.0