Commit 9db5b29d authored by Richard Winters's avatar Richard Winters 🌚
Browse files

Prepared release version 1.2.3-10

* Updated gulpfile to properly update version strings
  * In language files
  * In the prefs file
  * In the metadata file
* Bumped file version
parent ebfe4f98
Pipeline #240502820 passed with stages
in 2 minutes and 26 seconds
......@@ -4,9 +4,9 @@ stages:
- release
variables:
PACKAGE_VERSION: "1.2.3"
PACKAGE_ARCHIVE: "mmod-panel_${$CI_COMMIT_TAG}.zip"
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/mmod-panel/${PACKAGE_VERSION}"
#PACKAGE_VERSION: "${CI_COMMIT_TAG}"
PACKAGE_ARCHIVE: "mmod-panel_${CI_COMMIT_TAG}.zip"
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/mmod-panel/${CI_COMMIT_TAG}"
# WE MUST REMOVE THIS BECAUSE IT RUNS PRIOR TO EACH JOB!
#before_script:
......
......@@ -3,7 +3,7 @@
# * @author: Richard B Winters
# * @copyright: 2011-2021 Massively Modified, Inc.
# * @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
# * @version: 1.2.2-10
# * @version: 1.2.3-10
# *---------------------------------------------------------------------------*/
msgid ""
msgstr ""
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
......@@ -60,27 +60,16 @@ const args = // Allows us to accept a
// Check if we supplied arguments for updating the version of the project and its files
let bumpVersion = args['bump-version'],
toVersion = args['version'],
toVersion = args['to-version'],
byType = args['type'],
bumpOptions = ( bumpVersion ) ? { } : { type: 'patch' },
projectBumpOptions = ( bumpVersion ) ? { } : { type: 'patch', key: '"version": "' };
// If version was provided, overwrite the options accordingly
if( toVersion )
{
bumpOptions = { version: toVersion };
projectBumpOptions = bumpOptions;
projectBumpOptions.key = '"version": "';
}
// If type was provided, overwrite the options accordingly
if( byType )
{
bumpOptions = { type: byType };
projectBumpOptions = bumpOptions;
projectBumpOptions.key = '"version": "';
}
bumpOptions = ( bumpVersion ) ? ( ( toVersion ) ? { version: toVersion } : { type: 'patch' } ) : { },
prefVerBumpOptions = ( bumpVersion ) ? ( ( toVersion ) ? { version: toVersion } : { type: 'patch' } ) : { },
metaVerBumpOptions = ( bumpVersion ) ? ( ( toVersion ) ? { version: toVersion } : { type: 'patch' } ) : { },
projectBumpOptions = ( bumpVersion ) ? ( ( toVersion ) ? { version: toVersion } : { type: 'patch' } ) : { };
prefVerBumpOptions.key = `const mver = '`;
metaVerBumpOptions.key = `since v`;
projectBumpOptions.key = `"version": "`;
// Bump the version in our projects files (called manually, or through the build-release task)
gulp.task
......@@ -97,6 +86,7 @@ gulp.task
'**/*.ts',
'**/*.js',
'**/*.scss',
'**/*.po',
'!node_modules{,/**}'
],
{ base: './' }
......@@ -107,6 +97,42 @@ gulp.task
);
// Bump the version in our in our package.json file
gulp.task
(
'bump-pref-file-version',
() =>
{
// Target our package.json:
return gulp.src
(
'**/*.js',
{ base: './' }
)
.pipe( bump( prefVerBumpOptions ) )
.pipe( gulp.dest( '.' ) );
}
);
// Bump the version in our in our package.json file
gulp.task
(
'bump-meta-file-version',
() =>
{
// Target our package.json:
return gulp.src
(
'**/*.json',
{ base: './' }
)
.pipe( bump( metaVerBumpOptions ) )
.pipe( gulp.dest( '.' ) );
}
);
// Bump the version in our in our package.json file
gulp.task
(
......@@ -241,6 +267,8 @@ gulp.task
(
'clean',
'bump-project-version',
'bump-pref-file-version',
'bump-meta-file-version',
'bump-file-versions',
'compile-scss',
'copy-extension-files',
......
{
"name": "mmod-panel",
"version": "1.2.2-10",
"version": "1.2.3-10",
"description": "Upgrades the Topbar in Gnome3, creating a customizable panel and providing options for fine-tuning your Desktop Experience.",
"main": "extension.js",
"nyc": {
......@@ -13,7 +13,7 @@
"scripts": {
"build": "gulp",
"build:release": "gulp build-release",
"build:versioned-release": "gulp build-release",
"build:versioned-release": "gulp build-versioned-release",
"test": "echo \"ATT: No tests available for this package\" && exit 0"
},
"repository": {
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
* ----------------------------------------------------------------------------
*
* NOTICE
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
......
......@@ -3,7 +3,7 @@
"uuid": "mmod-panel@mmogp.com",
"version": "10",
"name": "MMOD Panel",
"description": "Upgrades the Topbar in Gnome3, creating a customizable panel and providing options for fine-tuning your Desktop Experience.\n\nFeatures include:\n\u25B8 Set comfort levels to provide theme support and fine-tune the overall look and feel of the panel.\n\u25B8 Set the location/position of the panel (bottom by default).\n\u25B8 Add a button to the panel in place of the activities link, using an icon of your preference.\n\u25B8 Auto-hide the panel when not active/in-focus (makes use of pressure/gesture for showing the panel).\n\u25B8 Display and manage your favorites/running apps directly on the panel.\n\u25B8 Move the date menu to the aggregate/tray area.\n\u25B8 Access and manage your extension preferences directly from the aggregate menu.\n\u25B8 Customize behavior of the overview and panel(hot-corners/animations/effects) to suit your preferences.\n\u25B8 More to come soon!\n\nThis project is loosely based on the Panel Settings extension:\nhttps://github.com/eddiefullmetal/gnome-shell-extensions/tree/master/panelSettings%40eddiefullmetal.gr\n\nSadly, Panel Settings has not seen any maintenance in years, though this is why I decided to create MMOD Panel.\n\nI also took inspiration from the following Gnome extensions: System-Monitor, Taskbar, and DashToDock.\n\nFor those of you who are wondering, the theme used in the screen shot is the Zukitwo-Dark-Shell Shell Theme; \neverything else is default Gnome on Debian Buster. However, the author of the aforementioned shell theme has \nchanged the name for various reasons to Ciliora-Prima-Shell - which can be found here:\n\n http://gnome-look.org/content/show.php?content=165096\n\nVersion 10 (1.2.2-10) for Gnome-Shell: 3.10, 3.12, 3.12.2, 3.14, 3.14.4, 3.16, 3.16.2, 3.18, 3.20, 3.22, 3.24, 3.26, 3.26.2, 3.28, 3.30, 3.32, 3.34, 3.35, 3.35.91, 3.36, 3.36.3, 3.36.4, 3.36.6, 3.38, 3.38.2\nRik <rik@mmod.co>\n\nGerman Translation(s) for MMOD-Panel courtesy of Jonius Zeidler <jonatan_zeidler@gmx.de>\n\nSource Repository: https://gitlab.com/mmod/mmod-panel/\n",
"description": "Upgrades the Topbar in Gnome3, creating a customizable panel and providing options for fine-tuning your Desktop Experience.\n\nFeatures include:\n\u25B8 Set comfort levels to provide theme support and fine-tune the overall look and feel of the panel.\n\u25B8 Set the location/position of the panel (bottom by default).\n\u25B8 Add a button to the panel in place of the activities link, using an icon of your preference.\n\u25B8 Auto-hide the panel when not active/in-focus (makes use of pressure/gesture for showing the panel).\n\u25B8 Display and manage your favorites/running apps directly on the panel.\n\u25B8 Move the date menu to the aggregate/tray area.\n\u25B8 Access and manage your extension preferences directly from the aggregate menu.\n\u25B8 Customize behavior of the overview and panel(hot-corners/animations/effects) to suit your preferences.\n\u25B8 More to come soon!\n\nThis project is loosely based on the Panel Settings extension:\nhttps://github.com/eddiefullmetal/gnome-shell-extensions/tree/master/panelSettings%40eddiefullmetal.gr\n\nSadly, Panel Settings has not seen any maintenance in years, though this is why I decided to create MMOD Panel.\n\nI also took inspiration from the following Gnome extensions: System-Monitor, Taskbar, and DashToDock.\n\nFor those of you who are wondering, the theme used in the screen shot is the Zukitwo-Dark-Shell Shell Theme; \neverything else is default Gnome on Debian Buster. However, the author of the aforementioned shell theme has \nchanged the name for various reasons to Ciliora-Prima-Shell - which can be found here:\n\n http://gnome-look.org/content/show.php?content=165096\n\nFor Gnome-Shell: 3.10, 3.12, 3.12.2, 3.14, 3.14.4, 3.16, 3.16.2, 3.18, 3.20, 3.22, 3.24, 3.26, 3.26.2, 3.28, 3.30, 3.32, 3.34, 3.35, 3.35.91, 3.36, 3.36.3, 3.36.4, 3.36.6, 3.38, 3.38.2 (since v1.2.3-10) f\nRik <rik@mmod.co>\n\nGerman Translation(s) for MMOD-Panel courtesy of Jonius Zeidler <jonatan_zeidler@gmx.de>\n\nSource Repository: https://gitlab.com/mmod/mmod-panel/\n",
"gettext-domain": "mmod-panel",
"original-author": "rik@mmod.co",
"url": "https://gitlab.com/mmod/mmod-panel/"
......
......@@ -3,7 +3,7 @@
* @author: Richard B Winters
* @copyright: 2011-2021 Massively Modified, Inc.
* @license: Apache-2.0 <http://www.apache.org/licenses/LICENSE-2.0>
* @version: 1.2.2-10
* @version: 1.2.3-10
*---------------------------------------------------------------------------*/
const gio = imports.gi.Gio;
......@@ -24,7 +24,7 @@ const ext = eutils.getCurrentExtension();
const conv = ext.imports.convenience;
const lib = ext.imports.lib;
const mver = '1.2.0-9';
const mver = '1.2.3-10';
const schema = "org.gnome.shell.extensions.mmod-panel";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment