Skip to content

Commit e767935

Browse files
Fix #2. (#3)
This commit isn't really required, but since the configuration used in this repo also serves as an example, the following might confuse people. Before this commit when building locally using mock data, the latest tag would be used as a reqirect from the root URL. Now the local build is redirected to instead. * docs/poly.py (MOCK_DATA): Change type of the local revision to `BRANCH`.
1 parent 3ffa372 commit e767935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/poly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
GitRef("dev", "", "", GitRefType.BRANCH, datetime.fromtimestamp(4)),
3636
GitRef("some-feature", "", "", GitRefType.BRANCH, datetime.fromtimestamp(5)),
3737
],
38-
"current": GitRef("local", "", "", GitRefType.BRANCH, datetime.fromtimestamp(6)),
38+
"current": GitRef("local", "", "", GitRefType.TAG, datetime.fromtimestamp(6)),
3939
}
4040
MOCK = False
4141

0 commit comments

Comments
 (0)