Skip to content

Commit

Permalink
Merge pull request #13 from sarnold/dep-upgrades
Browse files Browse the repository at this point in the history
update tag_regexps, bump dep version
  • Loading branch information
sarnold authored Oct 3, 2022
2 parents f98837b + dda0d76 commit 7cfc0af
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
19 changes: 8 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine
FROM python:3.9-alpine3.16

LABEL "maintainer"="Stephen Arnold <[email protected]>" \
"repository"="https://github.com/sarnold/gitchangelog-action" \
Expand All @@ -8,17 +8,14 @@ LABEL "maintainer"="Stephen Arnold <[email protected]>" \
"com.github.actions.icon"="check-circle" \
"com.github.actions.color"="package"

RUN apk --no-cache add \
python3 \
python3-dev \
bash \
git \
py3-pip
RUN apk --no-cache add git bash

RUN pip install https://github.com/sarnold/gitchangelog/archive/refs/tags/3.0.9.tar.gz
ADD genchangelog.sh /
ADD requirements.txt /
ADD gitchangelog-release.rc /

ADD ./gitchangelog-release.rc /gitchangelog-release.rc

ADD ./genchangelog.sh /genchangelog.sh
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r /requirements.txt
RUN chmod +x /genchangelog.sh

ENTRYPOINT ["/genchangelog.sh"]
4 changes: 2 additions & 2 deletions gitchangelog-release.rc
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ subject_process = (strip |
##
## Tags that will be used for the changelog must match this regexp.
##
#tag_filter_regexp = r'^v?[0-9]+\.[0-9]+(\.[0-9]+)?$'
tag_filter_regexp = r'^[0-9]+\.[0-9]+(\.[0-9]+)?$'
tag_filter_regexp = r'^v?[0-9]+\.[0-9]+(\.[0-9]+)?$'
#tag_filter_regexp = r'^[0-9]+\.[0-9]+(\.[0-9]+)?$'


## ``unreleased_version_label`` is a string or a callable that outputs a string
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/sarnold/gitchangelog/releases/download/3.1.1/gitchangelog-3.1.1-py3-none-any.whl

0 comments on commit 7cfc0af

Please sign in to comment.