Generated v2 prefixes
This commit is contained in:
@@ -81,7 +81,9 @@ jobs:
|
|||||||
- name: find-prev-version
|
- name: find-prev-version
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
LFS2_PREV_VERSION="$(git describe --tags --abbrev=0 --match 'v*')"
|
LFS2_PREV_VERSION="$( \
|
||||||
|
git describe --tags --abbrev=0 --match 'v*' \
|
||||||
|
|| true)"
|
||||||
echo "LFS2_PREV_VERSION=$LFS2_PREV_VERSION"
|
echo "LFS2_PREV_VERSION=$LFS2_PREV_VERSION"
|
||||||
echo "LFS2_PREV_VERSION=$LFS2_PREV_VERSION" >> $GITHUB_ENV
|
echo "LFS2_PREV_VERSION=$LFS2_PREV_VERSION" >> $GITHUB_ENV
|
||||||
|
|
||||||
@@ -240,6 +242,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
# create release and patch version tag (vN.N.N)
|
# create release and patch version tag (vN.N.N)
|
||||||
# only draft if not a patch release
|
# only draft if not a patch release
|
||||||
|
touch release.txt
|
||||||
[ -e table.txt ] && cat table.txt >> release.txt
|
[ -e table.txt ] && cat table.txt >> release.txt
|
||||||
echo >> release.txt
|
echo >> release.txt
|
||||||
[ -e changes.txt ] && cat changes.txt >> release.txt
|
[ -e changes.txt ] && cat changes.txt >> release.txt
|
||||||
|
|||||||
@@ -877,7 +877,7 @@ static int lfs2_dir_traverse(lfs2_t *lfs2,
|
|||||||
// iterate over directory and attrs
|
// iterate over directory and attrs
|
||||||
lfs2_tag_t tag;
|
lfs2_tag_t tag;
|
||||||
const void *buffer;
|
const void *buffer;
|
||||||
struct lfs2_diskoff disk;
|
struct lfs2_diskoff disk = {0};
|
||||||
while (true) {
|
while (true) {
|
||||||
{
|
{
|
||||||
if (off+lfs2_tag_dsize(ptag) < dir->off) {
|
if (off+lfs2_tag_dsize(ptag) < dir->off) {
|
||||||
@@ -1628,7 +1628,7 @@ static int lfs2_dir_commitcrc(lfs2_t *lfs2, struct lfs2_commit *commit) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// space for fcrc?
|
// space for fcrc?
|
||||||
uint8_t eperturb = -1;
|
uint8_t eperturb = (uint8_t)-1;
|
||||||
if (noff >= end && noff <= lfs2->cfg->block_size - lfs2->cfg->prog_size) {
|
if (noff >= end && noff <= lfs2->cfg->block_size - lfs2->cfg->prog_size) {
|
||||||
// first read the leading byte, this always contains a bit
|
// first read the leading byte, this always contains a bit
|
||||||
// we can perturb to avoid writes that don't change the fcrc
|
// we can perturb to avoid writes that don't change the fcrc
|
||||||
|
|||||||
Reference in New Issue
Block a user