Skip to content

Commit

Permalink
docs: add a scriv-managed changelog (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danyal-Faheem committed Apr 23, 2024
1 parent ff587d3 commit 7fd248a
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
i# Changelog

This file includes a history of past releases. Changes that were not yet added to a release are in the [changelog.d/](./changelog.d) folder.

<!--
⚠️ DO NOT ADD YOUR CHANGES TO THIS FILE! (unless you want to modify existing changelog entries in this file)
Changelog entries are managed by scriv. After you have made some changes to this plugin, create a changelog entry with:
scriv create
Edit and commit the newly-created file in changelog.d.
If you need to create a new release, create a separate commit just for that. It is important to respect these
instructions, because git commits are used to generate release notes:
- Modify the version number in `__about__.py`.
- Collect changelog entries with `scriv collect`
- The title of the commit should be the same as the new version: "vX.Y.Z".
-->

<!-- scriv-insert-here -->
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [Improvement] Add a scriv-compliant changelog. (by @Danyal-Faheem)
18 changes: 18 additions & 0 deletions changelog.d/scriv.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[scriv]
version = literal: openedxscorm/__about__.py: __version__
categories =
format = md
md_header_level = 2
new_fragment_template =
<!--
Create a changelog entry for every new user-facing change. Please respect the following instructions:
- Indicate breaking changes by prepending an explosion 💥 character.
- Prefix your changes with either [Bugfix], [Improvement], [Feature], [Security], [Deprecation].
- You may optionally append "(by @<author>)" at the end of the line, where "<author>" is either one (just one)
of your GitHub username, real name or affiliated organization. These affiliations will be displayed in
the release notes for every release.
-->

<!-- - 💥[Feature] Foobarize the blorginator. This breaks plugins by renaming the `FOO_DO` filter to `BAR_DO`. (by @regisb) -->
<!-- - [Improvement] This is a non-breaking change. Life is good. (by @billgates) -->
entry_title_template = {%% if version %%}v{{ version }} {%% endif %%}({{ date.strftime('%%Y-%%m-%%d') }})
1 change: 1 addition & 0 deletions openedxscorm/__about__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "17.0.1"
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import io
import os
from setuptools import setup
from openedxscorm.__about__ import __version__


def package_data(pkg, roots):
Expand All @@ -26,7 +27,7 @@ def package_data(pkg, roots):

setup(
name="openedx-scorm-xblock",
version="17.0.1",
version=__version__,
description="Scorm XBlock for Open edX",
long_description=readme,
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit 7fd248a

Please sign in to comment.