Skip to content

Commit

Permalink
Merge pull request #539 from StoneCypher/TrimTweet
Browse files Browse the repository at this point in the history
Shorten the tweet notice
  • Loading branch information
StoneCypher committed Sep 12, 2022
2 parents 461a287 + 0f3025a commit 98b7b14
Show file tree
Hide file tree
Showing 22 changed files with 170 additions and 109 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.long.md
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

1073 merges; 161 releases
1074 merges; 161 releases



Expand All @@ -18,6 +18,21 @@ Published tags:



 

 

## [Untagged] - 9/12/2022 9:35:11 AM

Commit [76d6729a35a3f4eba666ff2d78cd284ed0668edd](https://github.com/StoneCypher/jssm/commit/76d6729a35a3f4eba666ff2d78cd284ed0668edd)

Author: `John Haugeland <stonecypher@gmail.com>`

* Remove noisy echo in the YML




&nbsp;

&nbsp;
Expand Down
34 changes: 17 additions & 17 deletions CHANGELOG.md
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

1073 merges; 161 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
1074 merges; 161 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)



Expand All @@ -18,6 +18,21 @@ Published tags:



&nbsp;

&nbsp;

## [Untagged] - 9/12/2022 9:35:11 AM

Commit [76d6729a35a3f4eba666ff2d78cd284ed0668edd](https://github.com/StoneCypher/jssm/commit/76d6729a35a3f4eba666ff2d78cd284ed0668edd)

Author: `John Haugeland <stonecypher@gmail.com>`

* Remove noisy echo in the YML




&nbsp;

&nbsp;
Expand Down Expand Up @@ -166,19 +181,4 @@ Commit [991d2dcf113bd19026f037e6eb22f46eacde57aa](https://github.com/StoneCypher

Author: `John Haugeland <stonecypher@gmail.com>`

* Add a bold theme




&nbsp;

&nbsp;

## [Untagged] - 9/10/2022 1:13:33 PM

Commit [d96737539244745a206582e0a9b69e39ed5ef9c6](https://github.com/StoneCypher/jssm/commit/d96737539244745a206582e0a9b69e39ed5ef9c6)

Author: `John Haugeland <stonecypher@gmail.com>`

* breaking jssm-viz, need to sort why
* Add a bold theme
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -18,7 +18,7 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md`
* Generated for version 5.85.1 at 9/12/2022, 9:31:27 AM
* Generated for version 5.85.2 at 9/12/2022, 9:59:10 AM
-->
# jssm
Expand Down
2 changes: 1 addition & 1 deletion dist/es6/version.js
@@ -1,2 +1,2 @@
const version = "5.85.1";
const version = "5.85.2";
export { version };
2 changes: 1 addition & 1 deletion dist/jssm.es5.cjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jssm.es5.cjs.nonmin.js
Expand Up @@ -19301,7 +19301,7 @@ function peg$parse(input, options) {
}
}

const version = "5.85.1";
const version = "5.85.2";

// whargarbl lots of these return arrays could/should be sets
const theme_mapping = new Map();
Expand Down
2 changes: 1 addition & 1 deletion dist/jssm.es5.iife.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jssm.es5.iife.nonmin.js
Expand Up @@ -19300,7 +19300,7 @@ var jssm = (function (exports) {
}
}

const version = "5.85.1";
const version = "5.85.2";

// whargarbl lots of these return arrays could/should be sets
const theme_mapping = new Map();
Expand Down
78 changes: 39 additions & 39 deletions docs/docs/classes/jssm.Machine.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/docs/classes/jssm_error.JssmError.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/docs/modules/jssm.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/docs/modules/jssm_constants.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/docs/modules/jssm_types._internal_.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/docs/modules/jssm_types.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/docs/modules/jssm_util.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/docs/modules/version.html

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion docs/docs/pages/CHANGELOG.long.html
Expand Up @@ -3,14 +3,25 @@
<h1>Changelog</h1>
</a>
<p>All notable changes to this project will be documented in this file.</p>
<p>1073 merges; 161 releases</p>
<p>1074 merges; 161 releases</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Published tags:</p>
<p><a href="#5__84__1">5.84.1</a>, <a href="#5__84__0">5.84.0</a>, <a href="#5__83__2">5.83.2</a>, <a href="#5__83__1">5.83.1</a>, <a href="#5__83__0">5.83.0</a>, <a href="#5__82__5">5.82.5</a>, <a href="#5__82__4">5.82.4</a>, <a href="#5__82__3">5.82.3</a>, <a href="#5__82__2">5.82.2</a>, <a href="#5__82__1">5.82.1</a>, <a href="#5__82__0">5.82.0</a>, <a href="#5__81__2">5.81.2</a>, <a href="#5__81__0">5.81.0</a>, <a href="#5__80__1">5.80.1</a>, <a href="#5__80__0">5.80.0</a>, <a href="#5__79__18">5.79.18</a>, <a href="#5__79__17">5.79.17</a>, <a href="#5__79__16">5.79.16</a>, <a href="#5__79__15">5.79.15</a>, <a href="#5__79__11">5.79.11</a>, <a href="#5__79__10">5.79.10</a>, <a href="#5__79__9">5.79.9</a>, <a href="#5__79__8">5.79.8</a>, <a href="#5__79__6">5.79.6</a>, <a href="#5__79__4">5.79.4</a>, <a href="#5__79__3">5.79.3</a>, <a href="#5__79__2">5.79.2</a>, <a href="#5__79__1">5.79.1</a>, <a href="#5__79__0">5.79.0</a>, <a href="#5__78__0">5.78.0</a>, <a href="#5__77__1">5.77.1</a>, <a href="#5__77__0">5.77.0</a>, <a href="#5__76__2">5.76.2</a>, <a href="#5__76__0">5.76.0</a>, <a href="#5__75__1">5.75.1</a>, <a href="#5__75__0">5.75.0</a>, <a href="#5__74__0">5.74.0</a>, <a href="#5__73__1">5.73.1</a>, <a href="#5__73__0">5.73.0</a>, <a href="#5__72__5">5.72.5</a>, <a href="#5__72__4">5.72.4</a>, <a href="#5__72__3">5.72.3</a>, <a href="#5__72__2">5.72.2</a>, <a href="#5__72__1">5.72.1</a>, <a href="#5__72__0">5.72.0</a>, <a href="#5__71__1">5.71.1</a>, <a href="#5__71__0">5.71.0</a>, <a href="#5__70__36">5.70.36</a>, <a href="#5__70__35">5.70.35</a>, <a href="#5__70__34">5.70.34</a>, <a href="#5__70__33">5.70.33</a>, <a href="#5__70__32">5.70.32</a>, <a href="#5__70__31">5.70.31</a>, <a href="#5__70__30">5.70.30</a>, <a href="#5__70__29">5.70.29</a>, <a href="#5__70__28">5.70.28</a>, <a href="#5__70__27">5.70.27</a>, <a href="#5__70__26">5.70.26</a>, <a href="#5__70__25">5.70.25</a>, <a href="#5__70__24">5.70.24</a>, <a href="#5__70__23">5.70.23</a>, <a href="#5__70__22">5.70.22</a>, <a href="#5__70__21">5.70.21</a>, <a href="#5__70__20">5.70.20</a>, <a href="#5__70__19">5.70.19</a>, <a href="#5__70__18">5.70.18</a>, <a href="#5__70__16">5.70.16</a>, <a href="#5__70__15">5.70.15</a>, <a href="#5__70__14">5.70.14</a>, <a href="#5__70__13">5.70.13</a>, <a href="#5__70__12">5.70.12</a>, <a href="#5__70__11">5.70.11</a>, <a href="#5__70__10">5.70.10</a>, <a href="#5__70__9">5.70.9</a>, <a href="#5__70__8">5.70.8</a>, <a href="#5__70__7">5.70.7</a>, <a href="#5__70__6">5.70.6</a>, <a href="#5__70__5">5.70.5</a>, <a href="#5__70__4">5.70.4</a>, <a href="#5__70__3">5.70.3</a>, <a href="#5__70__2">5.70.2</a>, <a href="#5__70__1">5.70.1</a>, <a href="#5__70__0">5.70.0</a>, <a href="#5__69__4">5.69.4</a>, <a href="#5__69__3">5.69.3</a>, <a href="#5__69__2">5.69.2</a>, <a href="#5__69__0">5.69.0</a>, <a href="#5__68__0">5.68.0</a>, <a href="#5__67__2">5.67.2</a>, <a href="#5__67__0">5.67.0</a>, <a href="#5__66__0">5.66.0</a>, <a href="#5__65__14">5.65.14</a>, <a href="#5__65__12">5.65.12</a>, <a href="#5__65__11">5.65.11</a>, <a href="#5__65__10">5.65.10</a>, <a href="#5__65__9">5.65.9</a>, <a href="#5__65__8">5.65.8</a>, <a href="#5__65__7">5.65.7</a>, <a href="#5__65__5">5.65.5</a>, <a href="#5__65__4">5.65.4</a>, <a href="#5__65__3">5.65.3</a>, <a href="#5__65__2">5.65.2</a>, <a href="#5__65__1">5.65.1</a>, <a href="#5__65__0">5.65.0</a>, <a href="#5__64__2">5.64.2</a>, <a href="#5__64__1">5.64.1</a>, <a href="#5__64__0">5.64.0</a>, <a href="#5__63__0">5.63.0</a>, <a href="#5__62__0">5.62.0</a>, <a href="#5__61__4">5.61.4</a>, <a href="#5__61__3">5.61.3</a>, <a href="#5__61__2">5.61.2</a>, <a href="#5__61__1">5.61.1</a>, <a href="#5__60__4">5.60.4</a>, <a href="#5__60__3">5.60.3</a>, <a href="#5__60__0">5.60.0</a>, <a href="#5__59__1">5.59.1</a>, <a href="#5__59__0">5.59.0</a>, <a href="#5__58__1">5.58.1</a>, <a href="#5__58__0">5.58.0</a>, <a href="#5__57__1">5.57.1</a>, <a href="#5__57__0">5.57.0</a>, <a href="#5__56__2">5.56.2</a>, <a href="#5__56__1">5.56.1</a>, <a href="#5__55__0">5.55.0</a>, <a href="#5__54__0">5.54.0</a>, <a href="#5__53__0">5.53.0</a>, <a href="#5__52__0">5.52.0</a>, <a href="#5__51__0">5.51.0</a>, <a href="#5__50__0">5.50.0</a>, <a href="#5__49__0">5.49.0</a>, <a href="#5__48__0">5.48.0</a>, <a href="#5__47__0">5.47.0</a>, <a href="#5__46__0">5.46.0</a>, <a href="#5__45__2">5.45.2</a>, <a href="#5__45__0">5.45.0</a>, <a href="#5__44__0">5.44.0</a>, <a href="#5__43__2">5.43.2</a>, <a href="#v5__42__0">v5.42.0</a>, <a href="#5__42__0">5.42.0</a>, <a href="#v5__41__15">v5.41.15</a>, <a href="#5__41__15">5.41.15</a>, <a href="#v5__41__14">v5.41.14</a>, <a href="#5__41__14">5.41.14</a>, <a href="#v5__41__12">v5.41.12</a>, <a href="#5__41__12">5.41.12</a>, <a href="#v5__41__10">v5.41.10</a>, <a href="#5__41__10">5.41.10</a>, <a href="#v5__41__9">v5.41.9</a>, <a href="#5__41__9">5.41.9</a>, <a href="#v5__41__8">v5.41.8</a>, <a href="#5__41__8">5.41.8</a>, <a href="#v5__41__7">v5.41.7</a>, <a href="#v5__41__2">v5.41.2</a>, <a href="#v5__41__1">v5.41.1</a>, <a href="#v5__32__14">v5.32.14</a>, <a href="#5__14__0">5.14.0</a>, <a href="#5__12__0">5.12.0</a>, <a href="#5__11__12">5.11.12</a>, <a href="#5__11__1">5.11.1</a>, <a href="#5__11__0">5.11.0</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>

<a href="#untagged---9122022-93511-am" id="untagged---9122022-93511-am" style="color: inherit; text-decoration: none;">
<h2>[Untagged] - 9/12/2022 9:35:11 AM</h2>
</a>
<p>Commit <a href="https://github.com/StoneCypher/jssm/commit/76d6729a35a3f4eba666ff2d78cd284ed0668edd">76d6729a35a3f4eba666ff2d78cd284ed0668edd</a></p>
<p>Author: <code>John Haugeland &lt;stonecypher@gmail.com&gt;</code></p>
<ul>
<li>Remove noisy echo in the YML</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>

<a href="#untagged---9122022-91728-am" id="untagged---9122022-91728-am" style="color: inherit; text-decoration: none;">
<h2>[Untagged] - 9/12/2022 9:17:28 AM</h2>
</a>
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jssm",
"version": "5.85.1",
"version": "5.85.2",
"engines": {
"node": ">=10.0.0"
},
Expand Down
22 changes: 21 additions & 1 deletion src/buildjs/tweet.js
Expand Up @@ -11,7 +11,7 @@ const blue = chalk.blueBright,
const package = JSON.parse( readFileSync('./package.json') );

const tag = package.version, // spawnSync(`awk -F'"' '/"version": ".+"/{ print $4; exit; }' package.json`),
commit_message = process.env['TW_COMMIT_MESSAGE'];
commit_message = handle_cmsg(process.env['TW_COMMIT_MESSAGE']);

console.log('found:');
console.log(tag);
Expand All @@ -21,6 +21,26 @@ console.log(commit_message);



// comes in as
// 1: "Merge pull request #foo from\n\nActual text we want"
// 2: "Merge pull request #foo from\n\nActual text we want\n\nMore stuff to ignore"

function handle_cmsg(cmsg) {

const parsable = cmsg
.replace('\r', '\n')
.split('\n')
.filter(s => s !== '');

// we almost certainly want 1, but if missing, fall back to merge notice in 0
return parsable[1] ?? (parsable[0] ?? '');

}





const tweet = async (status) => {

const twitterClient = new TwitterClient({
Expand Down
17 changes: 16 additions & 1 deletion src/doc_md/CHANGELOG.long.md
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

1073 merges; 161 releases
1074 merges; 161 releases



Expand All @@ -18,6 +18,21 @@ Published tags:



&nbsp;

&nbsp;

## [Untagged] - 9/12/2022 9:35:11 AM

Commit [76d6729a35a3f4eba666ff2d78cd284ed0668edd](https://github.com/StoneCypher/jssm/commit/76d6729a35a3f4eba666ff2d78cd284ed0668edd)

Author: `John Haugeland <stonecypher@gmail.com>`

* Remove noisy echo in the YML




&nbsp;

&nbsp;
Expand Down
34 changes: 17 additions & 17 deletions src/doc_md/CHANGELOG.md
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

1073 merges; 161 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
1074 merges; 161 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)



Expand All @@ -18,6 +18,21 @@ Published tags:



&nbsp;

&nbsp;

## [Untagged] - 9/12/2022 9:35:11 AM

Commit [76d6729a35a3f4eba666ff2d78cd284ed0668edd](https://github.com/StoneCypher/jssm/commit/76d6729a35a3f4eba666ff2d78cd284ed0668edd)

Author: `John Haugeland <stonecypher@gmail.com>`

* Remove noisy echo in the YML




&nbsp;

&nbsp;
Expand Down Expand Up @@ -166,19 +181,4 @@ Commit [991d2dcf113bd19026f037e6eb22f46eacde57aa](https://github.com/StoneCypher

Author: `John Haugeland <stonecypher@gmail.com>`

* Add a bold theme




&nbsp;

&nbsp;

## [Untagged] - 9/10/2022 1:13:33 PM

Commit [d96737539244745a206582e0a9b69e39ed5ef9c6](https://github.com/StoneCypher/jssm/commit/d96737539244745a206582e0a9b69e39ed5ef9c6)

Author: `John Haugeland <stonecypher@gmail.com>`

* breaking jssm-viz, need to sort why
* Add a bold theme
2 changes: 1 addition & 1 deletion src/ts/version.ts
@@ -1,3 +1,3 @@

const version: string = "5.85.1";
const version: string = "5.85.2";
export { version };

0 comments on commit 98b7b14

Please sign in to comment.