Skip to content

Commit dc1aa10

Browse files
Merge pull request #75 from guzman-raphael/alpha-release
Fix Publish: Adjust version reference in GH Actions
2 parents 7c21932 + a84ff9e commit dc1aa10

File tree

4 files changed

+28
-5
lines changed

4 files changed

+28
-5
lines changed

.github/workflows/development.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,16 @@ jobs:
113113
id: changelog_reader
114114
uses: mindsers/changelog-reader-action@v2
115115
with:
116-
validation_depth: 10
117-
version: ${{steps.tag_name.outputs.current_version}}
118116
path: ./CHANGELOG.md
117+
validation_depth: 10
118+
version: ${{env.PHARUS_VERSION}}
119119
- name: Create GH release
120120
id: create_gh_release
121121
uses: actions/create-release@v1
122122
env:
123123
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
124124
with:
125-
tag_name: ${{github.ref}}
125+
tag_name: ${{steps.changelog_reader.outputs.version}}
126126
release_name: Release ${{steps.changelog_reader.outputs.version}}
127127
body: ${{steps.changelog_reader.outputs.changes}}
128128
prerelease: ${{steps.changelog_reader.outputs.status == 'prereleased'}}

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
44

5-
## [0.1.0a1] - 2021-02-17
5+
## [0.1.0a2] - 2021-02-18
66
### Added
77
- List schemas method.
88
- List tables method.

docker-compose-test.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,27 @@ services:
1010
image: datajoint/mysql:5.7
1111
environment:
1212
- MYSQL_ROOT_PASSWORD=simple
13+
# changelog-linter:
14+
# image: node:10-alpine
15+
# volumes:
16+
# - ./CHANGELOG.md:/main/CHANGELOG.md:ro
17+
# working_dir: /main
18+
# command:
19+
# - sh
20+
# - -c
21+
# - |
22+
# npm i -g @brightcove/kacl
23+
# cat > package.json <<-EOF
24+
# {
25+
# "name": "example",
26+
# "version": "0.0.0",
27+
# "repository": {
28+
# "type": "git",
29+
# "url": "https://github.com/org/repo"
30+
# }
31+
# }
32+
# EOF
33+
# kacl lint && tail -f /dev/null
1334
pharus:
1435
<<: *net
1536
extends:
@@ -43,6 +64,8 @@ services:
4364
tail -f /dev/null
4465
fi
4566
depends_on:
67+
# changelog-linter:
68+
# condition: service_started
4669
db:
4770
condition: service_healthy
4871
networks:

pharus/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Package metadata."""
2-
__version__ = '0.1.0a1'
2+
__version__ = '0.1.0a2'

0 commit comments

Comments
 (0)