Skip to content

Commit

Permalink
Internal: The version for content styles will be read from the change…
Browse files Browse the repository at this point in the history
…log file.
  • Loading branch information
mlewand authored Jan 18, 2021
2 parents a35881b + 747b2e9 commit 8486251
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/docs/build-content-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ const postcss = require( 'postcss' );
const webpack = require( 'webpack' );
const Table = require( 'cli-table' );
const { tools, styles } = require( '@ckeditor/ckeditor5-dev-utils' );
const { version } = require( '../../package.json' );
const { getLastFromChangelog } = require( '@ckeditor/ckeditor5-dev-env/lib/release-tools/utils/versions' );

const version = getLastFromChangelog();

const DESTINATION_DIRECTORY = path.join( __dirname, '..', '..', 'build', 'content-styles' );
const CONTENT_STYLES_GUIDE_PATH = path.join( __dirname, '..', '..', 'docs', 'builds', 'guides', 'integration', 'content-styles.md' );
Expand Down

0 comments on commit 8486251

Please sign in to comment.